home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / sunbird / chrome / comm.jar < prev    next >
PKZip Archive  |  2007-05-23  |  37.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: PKZip Archive (archive/zip).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert PKZip Archive (archive/zip) magic Supported
66% dexvert JAR Archive (archive/jar) ext Supported
100% file Zip archive data, made by v2.3 UNIX, extract using at least v1.0, last modified, last modified Sun, Feb 17 2007 12:08:06, uncompressed size 22058, method=store default
99% file Zip archive, with extra data prepended default
98% file data default
100% TrID ZIP compressed archive default
100% dexmagic PrintFox/Pagefox WEAK default
100% siegfried x-fmt/263 ZIP Format default
100% lsar Zip default
100% gt2 ZIP Archiv gefunden (Auflistung ist deaktiviert) default
100% detectItEasy Archive: Zip(1.0)[100.0%,4 files] default
100% binwalkID Zip archive data, at least v1.0 to extract, compressed size: 22058, uncompressed size: 22058, name: content/xbl-marquee/xbl-marquee.xml default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 00 00 00 | 00 00 03 61 51 36 7b 02 |PK......|...aQ6{.|
|00000010| 7a 4a 2a 56 00 00 2a 56 | 00 00 23 00 00 00 63 6f |zJ*V..*V|..#...co|
|00000020| 6e 74 65 6e 74 2f 78 62 | 6c 2d 6d 61 72 71 75 65 |ntent/xb|l-marque|
|00000030| 65 2f 78 62 6c 2d 6d 61 | 72 71 75 65 65 2e 78 6d |e/xbl-ma|rquee.xm|
|00000040| 6c 3c 3f 78 6d 6c 20 76 | 65 72 73 69 6f 6e 3d 22 |l<?xml v|ersion="|
|00000050| 31 2e 30 22 3f 3e 0a 3c | 21 2d 2d 20 2a 2a 2a 2a |1.0"?>.<|!-- ****|
|00000060| 2a 20 42 45 47 49 4e 20 | 4c 49 43 45 4e 53 45 20 |* BEGIN |LICENSE |
|00000070| 42 4c 4f 43 4b 20 2a 2a | 2a 2a 2a 0a 20 20 20 2d |BLOCK **|***. -|
|00000080| 20 56 65 72 73 69 6f 6e | 3a 20 4d 50 4c 20 31 2e | Version|: MPL 1.|
|00000090| 31 2f 47 50 4c 20 32 2e | 30 2f 4c 47 50 4c 20 32 |1/GPL 2.|0/LGPL 2|
|000000a0| 2e 31 0a 20 20 20 2d 0a | 20 20 20 2d 20 54 68 65 |.1. -.| - The|
|000000b0| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|000000c0| 73 20 66 69 6c 65 20 61 | 72 65 20 73 75 62 6a 65 |s file a|re subje|
|000000d0| 63 74 20 74 6f 20 74 68 | 65 20 4d 6f 7a 69 6c 6c |ct to th|e Mozill|
|000000e0| 61 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |a Public| License|
|000000f0| 20 56 65 72 73 69 6f 6e | 0a 20 20 20 2d 20 31 2e | Version|. - 1.|
|00000100| 31 20 28 74 68 65 20 22 | 4c 69 63 65 6e 73 65 22 |1 (the "|License"|
|00000110| 29 3b 20 79 6f 75 20 6d | 61 79 20 6e 6f 74 20 75 |); you m|ay not u|
|00000120| 73 65 20 74 68 69 73 20 | 66 69 6c 65 20 65 78 63 |se this |file exc|
|00000130| 65 70 74 20 69 6e 20 63 | 6f 6d 70 6c 69 61 6e 63 |ept in c|omplianc|
|00000140| 65 20 77 69 74 68 0a 20 | 20 20 2d 20 74 68 65 20 |e with. | - the |
|00000150| 4c 69 63 65 6e 73 65 2e | 20 59 6f 75 20 6d 61 79 |License.| You may|
|00000160| 20 6f 62 74 61 69 6e 20 | 61 20 63 6f 70 79 20 6f | obtain |a copy o|
|00000170| 66 20 74 68 65 20 4c 69 | 63 65 6e 73 65 20 61 74 |f the Li|cense at|
|00000180| 0a 20 20 20 2d 20 68 74 | 74 70 3a 2f 2f 77 77 77 |. - ht|tp://www|
|00000190| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 4d 50 4c |.mozilla|.org/MPL|
|000001a0| 2f 0a 20 20 20 2d 0a 20 | 20 20 2d 20 53 6f 66 74 |/. -. | - Soft|
|000001b0| 77 61 72 65 20 64 69 73 | 74 72 69 62 75 74 65 64 |ware dis|tributed|
|000001c0| 20 75 6e 64 65 72 20 74 | 68 65 20 4c 69 63 65 6e | under t|he Licen|
|000001d0| 73 65 20 69 73 20 64 69 | 73 74 72 69 62 75 74 65 |se is di|stribute|
|000001e0| 64 20 6f 6e 20 61 6e 20 | 22 41 53 20 49 53 22 20 |d on an |"AS IS" |
|000001f0| 62 61 73 69 73 2c 0a 20 | 20 20 2d 20 57 49 54 48 |basis,. | - WITH|
|00000200| 4f 55 54 20 57 41 52 52 | 41 4e 54 59 20 4f 46 20 |OUT WARR|ANTY OF |
|00000210| 41 4e 59 20 4b 49 4e 44 | 2c 20 65 69 74 68 65 72 |ANY KIND|, either|
|00000220| 20 65 78 70 72 65 73 73 | 20 6f 72 20 69 6d 70 6c | express| or impl|
|00000230| 69 65 64 2e 20 53 65 65 | 20 74 68 65 20 4c 69 63 |ied. See| the Lic|
|00000240| 65 6e 73 65 0a 20 20 20 | 2d 20 66 6f 72 20 74 68 |ense. |- for th|
|00000250| 65 20 73 70 65 63 69 66 | 69 63 20 6c 61 6e 67 75 |e specif|ic langu|
|00000260| 61 67 65 20 67 6f 76 65 | 72 6e 69 6e 67 20 72 69 |age gove|rning ri|
|00000270| 67 68 74 73 20 61 6e 64 | 20 6c 69 6d 69 74 61 74 |ghts and| limitat|
|00000280| 69 6f 6e 73 20 75 6e 64 | 65 72 20 74 68 65 0a 20 |ions und|er the. |
|00000290| 20 20 2d 20 4c 69 63 65 | 6e 73 65 2e 0a 20 20 20 | - Lice|nse.. |
|000002a0| 2d 0a 20 20 20 2d 20 54 | 68 65 20 4f 72 69 67 69 |-. - T|he Origi|
|000002b0| 6e 61 6c 20 43 6f 64 65 | 20 69 73 20 4e 65 74 73 |nal Code| is Nets|
|000002c0| 63 61 70 65 27 73 20 58 | 42 4c 20 4d 61 72 71 75 |cape's X|BL Marqu|
|000002d0| 65 65 20 45 6d 75 6c 61 | 74 69 6f 6e 20 63 6f 64 |ee Emula|tion cod|
|000002e0| 65 2e 0a 20 20 20 2d 0a | 20 20 20 2d 20 54 68 65 |e.. -.| - The|
|000002f0| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop|
|00000300| 65 72 20 6f 66 20 74 68 | 65 20 4f 72 69 67 69 6e |er of th|e Origin|
|00000310| 61 6c 20 43 6f 64 65 20 | 69 73 0a 20 20 20 2d 20 |al Code |is. - |
|00000320| 4e 65 74 73 63 61 70 65 | 20 43 6f 6d 6d 75 6e 69 |Netscape| Communi|
|00000330| 63 61 74 69 6f 6e 73 20 | 43 6f 72 70 6f 72 61 74 |cations |Corporat|
|00000340| 69 6f 6e 2e 0a 20 20 20 | 2d 20 50 6f 72 74 69 6f |ion.. |- Portio|
|00000350| 6e 73 20 63 72 65 61 74 | 65 64 20 62 79 20 74 68 |ns creat|ed by th|
|00000360| 65 20 49 6e 69 74 69 61 | 6c 20 44 65 76 65 6c 6f |e Initia|l Develo|
|00000370| 70 65 72 20 61 72 65 20 | 43 6f 70 79 72 69 67 68 |per are |Copyrigh|
|00000380| 74 20 28 43 29 20 32 30 | 30 32 0a 20 20 20 2d 20 |t (C) 20|02. - |
|00000390| 74 68 65 20 49 6e 69 74 | 69 61 6c 20 44 65 76 65 |the Init|ial Deve|
|000003a0| 6c 6f 70 65 72 2e 20 41 | 6c 6c 20 52 69 67 68 74 |loper. A|ll Right|
|000003b0| 73 20 52 65 73 65 72 76 | 65 64 2e 0a 20 20 20 2d |s Reserv|ed.. -|
|000003c0| 0a 20 20 20 2d 20 43 6f | 6e 74 72 69 62 75 74 6f |. - Co|ntributo|
|000003d0| 72 28 73 29 3a 0a 20 20 | 20 2d 20 20 20 44 6f 72 |r(s):. | - Dor|
|000003e0| 6f 6e 20 52 6f 73 65 6e | 62 65 72 67 20 3c 64 6f |on Rosen|berg <do|
|000003f0| 72 6f 6e 40 6e 65 74 73 | 63 61 70 65 2e 63 6f 6d |ron@nets|cape.com|
|00000400| 3e 0a 20 20 20 2d 20 20 | 20 4c 2e 20 44 61 76 69 |>. - | L. Davi|
|00000410| 64 20 42 61 72 6f 6e 20 | 3c 64 62 61 72 6f 6e 40 |d Baron |<dbaron@|
|00000420| 64 62 61 72 6f 6e 2e 6f | 72 67 3e 0a 20 20 20 2d |dbaron.o|rg>. -|
|00000430| 0a 20 20 20 2d 20 41 6c | 74 65 72 6e 61 74 69 76 |. - Al|ternativ|
|00000440| 65 6c 79 2c 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 |ely, the| content|
|00000450| 73 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 6d |s of thi|s file m|
|00000460| 61 79 20 62 65 20 75 73 | 65 64 20 75 6e 64 65 72 |ay be us|ed under|
|00000470| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 0a 20 20 | the ter|ms of. |
|00000480| 20 2d 20 65 69 74 68 65 | 72 20 74 68 65 20 47 4e | - eithe|r the GN|
|00000490| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|000004a0| 20 4c 69 63 65 6e 73 65 | 20 56 65 72 73 69 6f 6e | License| Version|
|000004b0| 20 32 20 6f 72 20 6c 61 | 74 65 72 20 28 74 68 65 | 2 or la|ter (the|
|000004c0| 20 22 47 50 4c 22 29 2c | 20 6f 72 0a 20 20 20 2d | "GPL"),| or. -|
|000004d0| 20 74 68 65 20 47 4e 55 | 20 4c 65 73 73 65 72 20 | the GNU| Lesser |
|000004e0| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 20 4c |General |Public L|
|000004f0| 69 63 65 6e 73 65 20 56 | 65 72 73 69 6f 6e 20 32 |icense V|ersion 2|
|00000500| 2e 31 20 6f 72 20 6c 61 | 74 65 72 20 28 74 68 65 |.1 or la|ter (the|
|00000510| 20 22 4c 47 50 4c 22 29 | 2c 0a 20 20 20 2d 20 69 | "LGPL")|,. - i|
|00000520| 6e 20 77 68 69 63 68 20 | 63 61 73 65 20 74 68 65 |n which |case the|
|00000530| 20 70 72 6f 76 69 73 69 | 6f 6e 73 20 6f 66 20 74 | provisi|ons of t|
|00000540| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|00000550| 50 4c 20 61 72 65 20 61 | 70 70 6c 69 63 61 62 6c |PL are a|pplicabl|
|00000560| 65 20 69 6e 73 74 65 61 | 64 0a 20 20 20 2d 20 6f |e instea|d. - o|
|00000570| 66 20 74 68 6f 73 65 20 | 61 62 6f 76 65 2e 20 49 |f those |above. I|
|00000580| 66 20 79 6f 75 20 77 69 | 73 68 20 74 6f 20 61 6c |f you wi|sh to al|
|00000590| 6c 6f 77 20 75 73 65 20 | 6f 66 20 79 6f 75 72 20 |low use |of your |
|000005a0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 69 73 20 |version |of this |
|000005b0| 66 69 6c 65 20 6f 6e 6c | 79 0a 20 20 20 2d 20 75 |file onl|y. - u|
|000005c0| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|000005d0| 66 20 65 69 74 68 65 72 | 20 74 68 65 20 47 50 4c |f either| the GPL|
|000005e0| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2c 20 61 6e | or the |LGPL, an|
|000005f0| 64 20 6e 6f 74 20 74 6f | 20 61 6c 6c 6f 77 20 6f |d not to| allow o|
|00000600| 74 68 65 72 73 20 74 6f | 0a 20 20 20 2d 20 75 73 |thers to|. - us|
|00000610| 65 20 79 6f 75 72 20 76 | 65 72 73 69 6f 6e 20 6f |e your v|ersion o|
|00000620| 66 20 74 68 69 73 20 66 | 69 6c 65 20 75 6e 64 65 |f this f|ile unde|
|00000630| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 20 74 |r the te|rms of t|
|00000640| 68 65 20 4d 50 4c 2c 20 | 69 6e 64 69 63 61 74 65 |he MPL, |indicate|
|00000650| 20 79 6f 75 72 0a 20 20 | 20 2d 20 64 65 63 69 73 | your. | - decis|
|00000660| 69 6f 6e 20 62 79 20 64 | 65 6c 65 74 69 6e 67 20 |ion by d|eleting |
|00000670| 74 68 65 20 70 72 6f 76 | 69 73 69 6f 6e 73 20 61 |the prov|isions a|
|00000680| 62 6f 76 65 20 61 6e 64 | 20 72 65 70 6c 61 63 65 |bove and| replace|
|00000690| 20 74 68 65 6d 20 77 69 | 74 68 20 74 68 65 20 6e | them wi|th the n|
|000006a0| 6f 74 69 63 65 0a 20 20 | 20 2d 20 61 6e 64 20 6f |otice. | - and o|
|000006b0| 74 68 65 72 20 70 72 6f | 76 69 73 69 6f 6e 73 20 |ther pro|visions |
|000006c0| 72 65 71 75 69 72 65 64 | 20 62 79 20 74 68 65 20 |required| by the |
|000006d0| 4c 47 50 4c 20 6f 72 20 | 74 68 65 20 47 50 4c 2e |LGPL or |the GPL.|
|000006e0| 20 49 66 20 79 6f 75 20 | 64 6f 20 6e 6f 74 20 64 | If you |do not d|
|000006f0| 65 6c 65 74 65 0a 20 20 | 20 2d 20 74 68 65 20 70 |elete. | - the p|
|00000700| 72 6f 76 69 73 69 6f 6e | 73 20 61 62 6f 76 65 2c |rovision|s above,|
|00000710| 20 61 20 72 65 63 69 70 | 69 65 6e 74 20 6d 61 79 | a recip|ient may|
|00000720| 20 75 73 65 20 79 6f 75 | 72 20 76 65 72 73 69 6f | use you|r versio|
|00000730| 6e 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 75 |n of thi|s file u|
|00000740| 6e 64 65 72 0a 20 20 20 | 2d 20 74 68 65 20 74 65 |nder. |- the te|
|00000750| 72 6d 73 20 6f 66 20 61 | 6e 79 20 6f 6e 65 20 6f |rms of a|ny one o|
|00000760| 66 20 74 68 65 20 4d 50 | 4c 2c 20 74 68 65 20 47 |f the MP|L, the G|
|00000770| 50 4c 20 6f 72 20 74 68 | 65 20 4c 47 50 4c 2e 0a |PL or th|e LGPL..|
|00000780| 20 20 20 2d 0a 20 20 20 | 2d 20 2a 2a 2a 2a 2a 20 | -. |- ***** |
|00000790| 45 4e 44 20 4c 49 43 45 | 4e 53 45 20 42 4c 4f 43 |END LICE|NSE BLOC|
|000007a0| 4b 20 2a 2a 2a 2a 2a 20 | 2d 2d 3e 0a 0a 3c 62 69 |K ***** |-->..<bi|
|000007b0| 6e 64 69 6e 67 73 20 69 | 64 3d 22 6d 61 72 71 75 |ndings i|d="marqu|
|000007c0| 65 65 42 69 6e 64 69 6e | 67 73 22 0a 20 20 20 20 |eeBindin|gs". |
|000007d0| 20 20 20 20 20 20 78 6d | 6c 6e 73 3d 22 68 74 74 | xm|lns="htt|
|000007e0| 70 3a 2f 2f 77 77 77 2e | 6d 6f 7a 69 6c 6c 61 2e |p://www.|mozilla.|
|000007f0| 6f 72 67 2f 78 62 6c 22 | 0a 20 20 20 20 20 20 20 |org/xbl"|. |
|00000800| 20 20 20 78 6d 6c 6e 73 | 3a 68 74 6d 6c 3d 22 68 | xmlns|:html="h|
|00000810| 74 74 70 3a 2f 2f 77 77 | 77 2e 77 33 2e 6f 72 67 |ttp://ww|w.w3.org|
|00000820| 2f 31 39 39 39 2f 78 68 | 74 6d 6c 22 0a 20 20 20 |/1999/xh|tml". |
|00000830| 20 20 20 20 20 20 20 78 | 6d 6c 6e 73 3a 78 75 6c | x|mlns:xul|
|00000840| 3d 22 68 74 74 70 3a 2f | 2f 77 77 77 2e 6d 6f 7a |="http:/|/www.moz|
|00000850| 69 6c 6c 61 2e 6f 72 67 | 2f 6b 65 79 6d 61 73 74 |illa.org|/keymast|
|00000860| 65 72 2f 67 61 74 65 6b | 65 65 70 65 72 2f 74 68 |er/gatek|eeper/th|
|00000870| 65 72 65 2e 69 73 2e 6f | 6e 6c 79 2e 78 75 6c 22 |ere.is.o|nly.xul"|
|00000880| 0a 20 20 20 20 20 20 20 | 20 20 20 78 6d 6c 6e 73 |. | xmlns|
|00000890| 3a 78 62 6c 3d 22 68 74 | 74 70 3a 2f 2f 77 77 77 |:xbl="ht|tp://www|
|000008a0| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 78 62 6c |.mozilla|.org/xbl|
|000008b0| 22 3e 0a 0a 0a 20 20 3c | 62 69 6e 64 69 6e 67 20 |">... <|binding |
|000008c0| 69 64 3d 22 6d 61 72 71 | 75 65 65 22 3e 0a 0a 20 |id="marq|uee">.. |
|000008d0| 20 20 20 3c 72 65 73 6f | 75 72 63 65 73 3e 0a 20 | <reso|urces>. |
|000008e0| 20 20 20 20 20 3c 73 74 | 79 6c 65 73 68 65 65 74 | <st|ylesheet|
|000008f0| 20 73 72 63 3d 22 63 68 | 72 6f 6d 65 3a 2f 2f 78 | src="ch|rome://x|
|00000900| 62 6c 2d 6d 61 72 71 75 | 65 65 2f 63 6f 6e 74 65 |bl-marqu|ee/conte|
|00000910| 6e 74 2f 78 62 6c 2d 6d | 61 72 71 75 65 65 2e 63 |nt/xbl-m|arquee.c|
|00000920| 73 73 22 2f 3e 0a 20 20 | 20 20 3c 2f 72 65 73 6f |ss"/>. | </reso|
|00000930| 75 72 63 65 73 3e 0a 20 | 20 20 20 3c 69 6d 70 6c |urces>. | <impl|
|00000940| 65 6d 65 6e 74 61 74 69 | 6f 6e 3e 0a 0a 20 20 20 |ementati|on>.. |
|00000950| 20 20 20 3c 66 69 65 6c | 64 20 6e 61 6d 65 3d 22 | <fiel|d name="|
|00000960| 5f 73 63 72 6f 6c 6c 41 | 6d 6f 75 6e 74 22 3e 36 |_scrollA|mount">6|
|00000970| 3c 2f 66 69 65 6c 64 3e | 0a 20 20 20 20 20 20 3c |</field>|. <|
|00000980| 70 72 6f 70 65 72 74 79 | 20 6e 61 6d 65 3d 22 73 |property| name="s|
|00000990| 63 72 6f 6c 6c 41 6d 6f | 75 6e 74 22 3e 0a 20 20 |crollAmo|unt">. |
|000009a0| 20 20 20 20 20 20 3c 67 | 65 74 74 65 72 3e 0a 20 | <g|etter>. |
|000009b0| 20 20 20 20 20 20 20 20 | 20 3c 21 5b 43 44 41 54 | | <![CDAT|
|000009c0| 41 5b 0a 20 20 20 20 20 | 20 20 20 20 20 76 61 72 |A[. | var|
|000009d0| 20 76 61 6c 20 3d 20 70 | 61 72 73 65 49 6e 74 28 | val = p|arseInt(|
|000009e0| 74 68 69 73 2e 67 65 74 | 41 74 74 72 69 62 75 74 |this.get|Attribut|
|000009f0| 65 28 22 73 63 72 6f 6c | 6c 61 6d 6f 75 6e 74 22 |e("scrol|lamount"|
|00000a00| 29 29 3b 0a 0a 20 20 20 | 20 20 20 20 20 20 20 69 |));.. | i|
|00000a10| 66 20 28 76 61 6c 20 3c | 3d 20 30 20 7c 7c 20 69 |f (val <|= 0 || i|
|00000a20| 73 4e 61 4e 28 76 61 6c | 29 29 0a 20 20 20 20 20 |sNaN(val|)). |
|00000a30| 20 20 20 20 20 20 20 72 | 65 74 75 72 6e 20 74 68 | r|eturn th|
|00000a40| 69 73 2e 5f 73 63 72 6f | 6c 6c 41 6d 6f 75 6e 74 |is._scro|llAmount|
|00000a50| 3b 0a 0a 20 20 20 20 20 | 20 20 20 20 20 72 65 74 |;.. | ret|
|00000a60| 75 72 6e 20 76 61 6c 3b | 0a 20 20 20 20 20 20 20 |urn val;|. |
|00000a70| 20 20 20 5d 5d 3e 0a 20 | 20 20 20 20 20 20 20 3c | ]]>. | <|
|00000a80| 2f 67 65 74 74 65 72 3e | 0a 20 20 20 20 20 20 20 |/getter>|. |
|00000a90| 20 3c 73 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 | <setter|>. |
|00000aa0| 20 20 20 20 74 68 69 73 | 2e 73 65 74 41 74 74 72 | this|.setAttr|
|00000ab0| 69 62 75 74 65 28 22 73 | 63 72 6f 6c 6c 61 6d 6f |ibute("s|crollamo|
|00000ac0| 75 6e 74 22 2c 20 76 61 | 6c 29 3b 0a 20 20 20 20 |unt", va|l);. |
|00000ad0| 20 20 20 20 3c 2f 73 65 | 74 74 65 72 3e 0a 20 20 | </se|tter>. |
|00000ae0| 20 20 20 20 3c 2f 70 72 | 6f 70 65 72 74 79 3e 0a | </pr|operty>.|
|00000af0| 0a 20 20 20 20 20 20 3c | 66 69 65 6c 64 20 6e 61 |. <|field na|
|00000b00| 6d 65 3d 22 5f 73 63 72 | 6f 6c 6c 44 65 6c 61 79 |me="_scr|ollDelay|
|00000b10| 22 3e 38 35 3c 2f 66 69 | 65 6c 64 3e 0a 20 20 20 |">85</fi|eld>. |
|00000b20| 20 20 20 3c 70 72 6f 70 | 65 72 74 79 20 6e 61 6d | <prop|erty nam|
|00000b30| 65 3d 22 73 63 72 6f 6c | 6c 44 65 6c 61 79 22 3e |e="scrol|lDelay">|
|00000b40| 0a 20 20 20 20 20 20 20 | 20 3c 67 65 74 74 65 72 |. | <getter|
|00000b50| 3e 0a 20 20 20 20 20 20 | 20 20 20 20 3c 21 5b 43 |>. | <![C|
|00000b60| 44 41 54 41 5b 0a 20 20 | 20 20 20 20 20 20 20 20 |DATA[. | |
|00000b70| 76 61 72 20 76 61 6c 20 | 3d 20 70 61 72 73 65 49 |var val |= parseI|
|00000b80| 6e 74 28 74 68 69 73 2e | 67 65 74 41 74 74 72 69 |nt(this.|getAttri|
|00000b90| 62 75 74 65 28 22 73 63 | 72 6f 6c 6c 64 65 6c 61 |bute("sc|rolldela|
|00000ba0| 79 22 29 29 3b 0a 0a 20 | 20 20 20 20 20 20 20 20 |y"));.. | |
|00000bb0| 20 69 66 20 28 76 61 6c | 20 3c 3d 20 30 20 7c 7c | if (val| <= 0 |||
|00000bc0| 20 69 73 4e 61 4e 28 76 | 61 6c 29 29 0a 20 20 20 | isNaN(v|al)). |
|00000bd0| 20 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 | | return |
|00000be0| 74 68 69 73 2e 5f 73 63 | 72 6f 6c 6c 44 65 6c 61 |this._sc|rollDela|
|00000bf0| 79 3b 0a 0a 20 20 20 20 | 20 20 20 20 20 20 72 65 |y;.. | re|
|00000c00| 74 75 72 6e 20 76 61 6c | 3b 0a 20 20 20 20 20 20 |turn val|;. |
|00000c10| 20 20 20 20 5d 5d 3e 0a | 20 20 20 20 20 20 20 20 | ]]>.| |
|00000c20| 3c 2f 67 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 |</getter|>. |
|00000c30| 20 20 3c 73 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | <sette|r>. |
|00000c40| 20 20 20 20 20 74 68 69 | 73 2e 73 65 74 41 74 74 | thi|s.setAtt|
|00000c50| 72 69 62 75 74 65 28 22 | 73 63 72 6f 6c 6c 64 65 |ribute("|scrollde|
|00000c60| 6c 61 79 22 2c 20 76 61 | 6c 29 3b 0a 20 20 20 20 |lay", va|l);. |
|00000c70| 20 20 20 20 3c 2f 73 65 | 74 74 65 72 3e 0a 20 20 | </se|tter>. |
|00000c80| 20 20 20 20 3c 2f 70 72 | 6f 70 65 72 74 79 3e 0a | </pr|operty>.|
|00000c90| 0a 20 20 20 20 20 20 3c | 70 72 6f 70 65 72 74 79 |. <|property|
|00000ca0| 20 6e 61 6d 65 3d 22 74 | 72 75 65 53 70 65 65 64 | name="t|rueSpeed|
|00000cb0| 22 3e 0a 20 20 20 20 20 | 20 20 20 3c 67 65 74 74 |">. | <gett|
|00000cc0| 65 72 3e 0a 20 20 20 20 | 20 20 20 20 20 20 3c 21 |er>. | <!|
|00000cd0| 5b 43 44 41 54 41 5b 0a | 20 20 20 20 20 20 20 20 |[CDATA[.| |
|00000ce0| 20 20 69 66 20 28 21 74 | 68 69 73 2e 68 61 73 41 | if (!t|his.hasA|
|00000cf0| 74 74 72 69 62 75 74 65 | 28 22 74 72 75 65 73 70 |ttribute|("truesp|
|00000d00| 65 65 64 22 29 29 0a 20 | 20 20 20 20 20 20 20 20 |eed")). | |
|00000d10| 20 20 20 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b | retur|n false;|
|00000d20| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 72 65 74 75 |.. | retu|
|00000d30| 72 6e 20 74 72 75 65 3b | 0a 20 20 20 20 20 20 20 |rn true;|. |
|00000d40| 20 20 20 5d 5d 3e 0a 20 | 20 20 20 20 20 20 20 3c | ]]>. | <|
|00000d50| 2f 67 65 74 74 65 72 3e | 0a 20 20 20 20 20 20 20 |/getter>|. |
|00000d60| 20 3c 73 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 | <setter|>. |
|00000d70| 20 20 20 20 3c 21 5b 43 | 44 41 54 41 5b 0a 20 20 | <![C|DATA[. |
|00000d80| 20 20 20 20 20 20 20 20 | 69 66 20 28 76 61 6c 29 | |if (val)|
|00000d90| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 |. | thi|
|00000da0| 73 2e 73 65 74 41 74 74 | 72 69 62 75 74 65 28 22 |s.setAtt|ribute("|
|00000db0| 74 72 75 65 73 70 65 65 | 64 22 2c 20 22 74 72 75 |truespee|d", "tru|
|00000dc0| 65 73 70 65 65 64 22 29 | 3b 0a 20 20 20 20 20 20 |espeed")|;. |
|00000dd0| 20 20 20 20 65 6c 73 65 | 0a 20 20 20 20 20 20 20 | else|. |
|00000de0| 20 20 20 20 20 74 68 69 | 73 2e 72 65 6d 6f 76 65 | thi|s.remove|
|00000df0| 41 74 74 72 69 62 75 74 | 65 28 27 74 72 75 65 73 |Attribut|e('trues|
|00000e00| 70 65 65 64 27 29 3b 0a | 20 20 20 20 20 20 20 20 |peed');.| |
|00000e10| 20 20 5d 5d 3e 0a 20 20 | 20 20 20 20 20 20 3c 2f | ]]>. | </|
|00000e20| 73 65 74 74 65 72 3e 0a | 20 20 20 20 20 20 3c 2f |setter>.| </|
|00000e30| 70 72 6f 70 65 72 74 79 | 3e 0a 0a 20 20 20 20 20 |property|>.. |
|00000e40| 20 3c 70 72 6f 70 65 72 | 74 79 20 6e 61 6d 65 3d | <proper|ty name=|
|00000e50| 22 64 69 72 65 63 74 69 | 6f 6e 22 3e 0a 20 20 20 |"directi|on">. |
|00000e60| 20 20 20 20 20 3c 67 65 | 74 74 65 72 3e 0a 20 20 | <ge|tter>. |
|00000e70| 20 20 20 20 20 20 20 20 | 72 65 74 75 72 6e 20 74 | |return t|
|00000e80| 68 69 73 2e 67 65 74 41 | 74 74 72 69 62 75 74 65 |his.getA|ttribute|
|00000e90| 28 22 64 69 72 65 63 74 | 69 6f 6e 22 29 3b 0a 20 |("direct|ion");. |
|00000ea0| 20 20 20 20 20 20 20 3c | 2f 67 65 74 74 65 72 3e | <|/getter>|
|00000eb0| 0a 20 20 20 20 20 20 20 | 20 3c 73 65 74 74 65 72 |. | <setter|
|00000ec0| 3e 0a 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 |>. | this|
|00000ed0| 2e 73 65 74 41 74 74 72 | 69 62 75 74 65 28 22 64 |.setAttr|ibute("d|
|00000ee0| 69 72 65 63 74 69 6f 6e | 22 2c 20 76 61 6c 29 3b |irection|", val);|
|00000ef0| 0a 20 20 20 20 20 20 20 | 20 3c 2f 73 65 74 74 65 |. | </sette|
|00000f00| 72 3e 0a 20 20 20 20 20 | 20 3c 2f 70 72 6f 70 65 |r>. | </prope|
|00000f10| 72 74 79 3e 0a 0a 20 20 | 20 20 20 20 3c 66 69 65 |rty>.. | <fie|
|00000f20| 6c 64 20 6e 61 6d 65 3d | 22 5f 64 69 72 65 63 74 |ld name=|"_direct|
|00000f30| 69 6f 6e 22 3e 22 6c 65 | 66 74 22 3c 2f 66 69 65 |ion">"le|ft"</fie|
|00000f40| 6c 64 3e 0a 0a 20 20 20 | 20 20 20 3c 70 72 6f 70 |ld>.. | <prop|
|00000f50| 65 72 74 79 20 6e 61 6d | 65 3d 22 62 65 68 61 76 |erty nam|e="behav|
|00000f60| 69 6f 72 22 3e 0a 20 20 | 20 20 20 20 20 20 3c 67 |ior">. | <g|
|00000f70| 65 74 74 65 72 3e 0a 20 | 20 20 20 20 20 20 20 20 |etter>. | |
|00000f80| 20 72 65 74 75 72 6e 20 | 74 68 69 73 2e 5f 62 65 | return |this._be|
|00000f90| 68 61 76 69 6f 72 3b 0a | 20 20 20 20 20 20 20 20 |havior;.| |
|00000fa0| 3c 2f 67 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 |</getter|>. |
|00000fb0| 20 20 3c 73 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | <sette|r>. |
|00000fc0| 20 20 20 20 20 74 68 69 | 73 2e 73 65 74 41 74 74 | thi|s.setAtt|
|00000fd0| 72 69 62 75 74 65 28 22 | 62 65 68 61 76 69 6f 72 |ribute("|behavior|
|00000fe0| 22 2c 20 76 61 6c 29 3b | 0a 20 20 20 20 20 20 20 |", val);|. |
|00000ff0| 20 3c 2f 73 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | </sette|r>. |
|00001000| 20 3c 2f 70 72 6f 70 65 | 72 74 79 3e 0a 0a 20 20 | </prope|rty>.. |
|00001010| 20 20 20 20 3c 66 69 65 | 6c 64 20 6e 61 6d 65 3d | <fie|ld name=|
|00001020| 22 5f 62 65 68 61 76 69 | 6f 72 22 3e 22 73 63 72 |"_behavi|or">"scr|
|00001030| 6f 6c 6c 22 3c 2f 66 69 | 65 6c 64 3e 0a 0a 20 20 |oll"</fi|eld>.. |
|00001040| 20 20 20 20 3c 70 72 6f | 70 65 72 74 79 20 6e 61 | <pro|perty na|
|00001050| 6d 65 3d 22 6c 6f 6f 70 | 22 3e 0a 20 20 20 20 20 |me="loop|">. |
|00001060| 20 20 20 3c 67 65 74 74 | 65 72 3e 0a 20 20 20 20 | <gett|er>. |
|00001070| 20 20 20 20 20 20 3c 21 | 5b 43 44 41 54 41 5b 0a | <!|[CDATA[.|
|00001080| 20 20 20 20 20 20 20 20 | 20 20 76 61 72 20 76 61 | | var va|
|00001090| 6c 20 3d 20 70 61 72 73 | 65 49 6e 74 28 74 68 69 |l = pars|eInt(thi|
|000010a0| 73 2e 67 65 74 41 74 74 | 72 69 62 75 74 65 28 27 |s.getAtt|ribute('|
|000010b0| 6c 6f 6f 70 27 29 29 3b | 0a 20 20 20 20 0a 20 20 |loop'));|. . |
|000010c0| 20 20 20 20 20 20 20 20 | 69 66 20 28 76 61 6c 20 | |if (val |
|000010d0| 3c 20 2d 31 20 7c 7c 20 | 69 73 4e 61 4e 28 76 61 |< -1 || |isNaN(va|
|000010e0| 6c 29 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |l)). | |
|000010f0| 72 65 74 75 72 6e 20 74 | 68 69 73 2e 5f 6c 6f 6f |return t|his._loo|
|00001100| 70 3b 0a 0a 20 20 20 20 | 20 20 20 20 20 20 72 65 |p;.. | re|
|00001110| 74 75 72 6e 20 76 61 6c | 3b 0a 20 20 20 20 20 20 |turn val|;. |
|00001120| 20 20 20 20 5d 5d 3e 0a | 20 20 20 20 20 20 20 20 | ]]>.| |
|00001130| 3c 2f 67 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 |</getter|>. |
|00001140| 20 20 3c 73 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | <sette|r>. |
|00001150| 20 20 20 20 20 74 68 69 | 73 2e 73 65 74 41 74 74 | thi|s.setAtt|
|00001160| 72 69 62 75 74 65 28 22 | 6c 6f 6f 70 22 2c 20 76 |ribute("|loop", v|
|00001170| 61 6c 29 3b 0a 20 20 20 | 20 20 20 20 20 3c 2f 73 |al);. | </s|
|00001180| 65 74 74 65 72 3e 0a 20 | 20 20 20 20 20 3c 2f 70 |etter>. | </p|
|00001190| 72 6f 70 65 72 74 79 3e | 0a 0a 20 20 20 20 20 20 |roperty>|.. |
|000011a0| 3c 66 69 65 6c 64 20 6e | 61 6d 65 3d 22 5f 6c 6f |<field n|ame="_lo|
|000011b0| 6f 70 22 3e 2d 31 3c 2f | 66 69 65 6c 64 3e 0a 0a |op">-1</|field>..|
|000011c0| 20 20 20 20 20 20 3c 70 | 72 6f 70 65 72 74 79 20 | <p|roperty |
|000011d0| 6e 61 6d 65 3d 22 6f 6e | 73 74 61 72 74 22 3e 0a |name="on|start">.|
|000011e0| 20 20 20 20 20 20 20 20 | 3c 67 65 74 74 65 72 3e | |<getter>|
|000011f0| 0a 20 20 20 20 20 20 20 | 20 20 20 72 65 74 75 72 |. | retur|
|00001200| 6e 20 74 68 69 73 2e 67 | 65 74 41 74 74 72 69 62 |n this.g|etAttrib|
|00001210| 75 74 65 28 22 6f 6e 73 | 74 61 72 74 22 29 3b 0a |ute("ons|tart");.|
|00001220| 20 20 20 20 20 20 20 20 | 3c 2f 67 65 74 74 65 72 | |</getter|
|00001230| 3e 0a 20 20 20 20 20 20 | 20 20 3c 73 65 74 74 65 |>. | <sette|
|00001240| 72 3e 0a 20 20 20 20 20 | 20 20 20 20 20 74 68 69 |r>. | thi|
|00001250| 73 2e 5f 73 65 74 45 76 | 65 6e 74 4c 69 73 74 65 |s._setEv|entListe|
|00001260| 6e 65 72 28 22 73 74 61 | 72 74 22 2c 20 76 61 6c |ner("sta|rt", val|
|00001270| 2c 20 74 72 75 65 29 3b | 0a 20 20 20 20 20 20 20 |, true);|. |
|00001280| 20 20 20 74 68 69 73 2e | 73 65 74 41 74 74 72 69 | this.|setAttri|
|00001290| 62 75 74 65 28 22 6f 6e | 73 74 61 72 74 22 2c 20 |bute("on|start", |
|000012a0| 76 61 6c 29 3b 0a 20 20 | 20 20 20 20 20 20 3c 2f |val);. | </|
|000012b0| 73 65 74 74 65 72 3e 0a | 20 20 20 20 20 20 3c 2f |setter>.| </|
|000012c0| 70 72 6f 70 65 72 74 79 | 3e 0a 0a 20 20 20 20 20 |property|>.. |
|000012d0| 20 3c 66 69 65 6c 64 20 | 6e 61 6d 65 3d 22 5f 6f | <field |name="_o|
|000012e0| 6e 73 74 61 72 74 22 3e | 3c 2f 66 69 65 6c 64 3e |nstart">|</field>|
|000012f0| 0a 0a 20 20 20 20 20 20 | 3c 70 72 6f 70 65 72 74 |.. |<propert|
|00001300| 79 20 6e 61 6d 65 3d 22 | 6f 6e 66 69 6e 69 73 68 |y name="|onfinish|
|00001310| 22 3e 0a 20 20 20 20 20 | 20 20 20 3c 67 65 74 74 |">. | <gett|
|00001320| 65 72 3e 0a 20 20 20 20 | 20 20 20 20 20 20 72 65 |er>. | re|
|00001330| 74 75 72 6e 20 74 68 69 | 73 2e 67 65 74 41 74 74 |turn thi|s.getAtt|
|00001340| 72 69 62 75 74 65 28 22 | 6f 6e 66 69 6e 69 73 68 |ribute("|onfinish|
|00001350| 22 29 3b 0a 20 20 20 20 | 20 20 20 20 3c 2f 67 65 |");. | </ge|
|00001360| 74 74 65 72 3e 0a 20 20 | 20 20 20 20 20 20 3c 73 |tter>. | <s|
|00001370| 65 74 74 65 72 3e 0a 20 | 20 20 20 20 20 20 20 20 |etter>. | |
|00001380| 20 74 68 69 73 2e 5f 73 | 65 74 45 76 65 6e 74 4c | this._s|etEventL|
|00001390| 69 73 74 65 6e 65 72 28 | 22 66 69 6e 69 73 68 22 |istener(|"finish"|
|000013a0| 2c 20 76 61 6c 2c 20 74 | 72 75 65 29 3b 0a 20 20 |, val, t|rue);. |
|000013b0| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 73 65 74 | |this.set|
|000013c0| 41 74 74 72 69 62 75 74 | 65 28 22 6f 6e 66 69 6e |Attribut|e("onfin|
|000013d0| 69 73 68 22 2c 20 76 61 | 6c 29 3b 0a 20 20 20 20 |ish", va|l);. |
|000013e0| 20 20 20 20 3c 2f 73 65 | 74 74 65 72 3e 0a 20 20 | </se|tter>. |
|000013f0| 20 20 20 20 3c 2f 70 72 | 6f 70 65 72 74 79 3e 0a | </pr|operty>.|
|00001400| 0a 20 20 20 20 20 20 3c | 66 69 65 6c 64 20 6e 61 |. <|field na|
|00001410| 6d 65 3d 22 5f 6f 6e 66 | 69 6e 69 73 68 22 3e 3c |me="_onf|inish"><|
|00001420| 2f 66 69 65 6c 64 3e 0a | 0a 20 20 20 20 20 20 3c |/field>.|. <|
|00001430| 70 72 6f 70 65 72 74 79 | 20 6e 61 6d 65 3d 22 6f |property| name="o|
|00001440| 6e 62 6f 75 6e 63 65 22 | 3e 0a 20 20 20 20 20 20 |nbounce"|>. |
|00001450| 20 20 3c 67 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | <gette|r>. |
|00001460| 20 20 20 20 20 72 65 74 | 75 72 6e 20 74 68 69 73 | ret|urn this|
|00001470| 2e 67 65 74 41 74 74 72 | 69 62 75 74 65 28 22 6f |.getAttr|ibute("o|
|00001480| 6e 62 6f 75 6e 63 65 22 | 29 3b 0a 20 20 20 20 20 |nbounce"|);. |
|00001490| 20 20 20 3c 2f 67 65 74 | 74 65 72 3e 0a 20 20 20 | </get|ter>. |
|000014a0| 20 20 20 20 20 3c 73 65 | 74 74 65 72 3e 0a 20 20 | <se|tter>. |
|000014b0| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 5f 73 65 | |this._se|
|000014c0| 74 45 76 65 6e 74 4c 69 | 73 74 65 6e 65 72 28 22 |tEventLi|stener("|
|000014d0| 62 6f 75 6e 63 65 22 2c | 20 76 61 6c 2c 20 74 72 |bounce",| val, tr|
|000014e0| 75 65 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 74 |ue);. | t|
|000014f0| 68 69 73 2e 73 65 74 41 | 74 74 72 69 62 75 74 65 |his.setA|ttribute|
|00001500| 28 22 6f 6e 62 6f 75 6e | 63 65 22 2c 20 76 61 6c |("onboun|ce", val|
|00001510| 29 3b 0a 20 20 20 20 20 | 20 20 20 3c 2f 73 65 74 |);. | </set|
|00001520| 74 65 72 3e 0a 20 20 20 | 20 20 20 3c 2f 70 72 6f |ter>. | </pro|
|00001530| 70 65 72 74 79 3e 0a 0a | 20 20 20 20 20 20 3c 66 |perty>..| <f|
|00001540| 69 65 6c 64 20 6e 61 6d | 65 3d 22 5f 6f 6e 62 6f |ield nam|e="_onbo|
|00001550| 75 6e 63 65 22 3e 3c 2f | 66 69 65 6c 64 3e 0a 0a |unce"></|field>..|
|00001560| 20 20 20 20 20 20 3c 66 | 69 65 6c 64 20 6e 61 6d | <f|ield nam|
|00001570| 65 3d 22 64 69 72 73 69 | 67 6e 22 3e 31 3c 2f 66 |e="dirsi|gn">1</f|
|00001580| 69 65 6c 64 3e 0a 20 20 | 20 20 20 20 3c 66 69 65 |ield>. | <fie|
|00001590| 6c 64 20 6e 61 6d 65 3d | 22 73 74 61 72 74 41 74 |ld name=|"startAt|
|000015a0| 22 3e 30 3c 2f 66 69 65 | 6c 64 3e 0a 20 20 20 20 |">0</fie|ld>. |
|000015b0| 20 20 3c 66 69 65 6c 64 | 20 6e 61 6d 65 3d 22 73 | <field| name="s|
|000015c0| 74 6f 70 41 74 22 3e 30 | 3c 2f 66 69 65 6c 64 3e |topAt">0|</field>|
|000015d0| 0a 20 20 20 20 20 20 3c | 66 69 65 6c 64 20 6e 61 |. <|field na|
|000015e0| 6d 65 3d 22 6e 65 77 50 | 6f 73 69 74 69 6f 6e 22 |me="newP|osition"|
|000015f0| 3e 30 3c 2f 66 69 65 6c | 64 3e 0a 20 20 20 20 20 |>0</fiel|d>. |
|00001600| 20 3c 66 69 65 6c 64 20 | 6e 61 6d 65 3d 22 72 75 | <field |name="ru|
|00001610| 6e 49 64 22 3e 30 3c 2f | 66 69 65 6c 64 3e 0a 0a |nId">0</|field>..|
|00001620| 20 20 20 20 20 20 3c 66 | 69 65 6c 64 20 6e 61 6d | <f|ield nam|
|00001630| 65 3d 22 6f 72 69 67 69 | 6e 61 6c 48 65 69 67 68 |e="origi|nalHeigh|
|00001640| 74 22 3e 30 3c 2f 66 69 | 65 6c 64 3e 0a 20 20 20 |t">0</fi|eld>. |
|00001650| 20 20 20 3c 66 69 65 6c | 64 20 6e 61 6d 65 3d 22 | <fiel|d name="|
|00001660| 73 74 61 72 74 4e 65 77 | 44 69 72 65 63 74 69 6f |startNew|Directio|
|00001670| 6e 22 3e 74 72 75 65 3c | 2f 66 69 65 6c 64 3e 0a |n">true<|/field>.|
|00001680| 0a 20 20 20 20 20 20 3c | 70 72 6f 70 65 72 74 79 |. <|property|
|00001690| 20 6e 61 6d 65 3d 22 6f | 75 74 65 72 44 69 76 22 | name="o|uterDiv"|
|000016a0| 0a 20 20 20 20 20 20 20 | 20 6f 6e 67 65 74 3d 22 |. | onget="|
|000016b0| 72 65 74 75 72 6e 20 64 | 6f 63 75 6d 65 6e 74 2e |return d|ocument.|
|000016c0| 67 65 74 41 6e 6f 6e 79 | 6d 6f 75 73 4e 6f 64 65 |getAnony|mousNode|
|000016d0| 73 28 74 68 69 73 29 5b | 30 5d 22 0a 20 20 20 20 |s(this)[|0]". |
|000016e0| 20 20 2f 3e 0a 0a 20 20 | 20 20 20 20 3c 70 72 6f | />.. | <pro|
|000016f0| 70 65 72 74 79 20 6e 61 | 6d 65 3d 22 69 6e 6e 65 |perty na|me="inne|
|00001700| 72 44 69 76 22 0a 20 20 | 20 20 20 20 20 20 6f 6e |rDiv". | on|
|00001710| 67 65 74 3d 22 72 65 74 | 75 72 6e 20 64 6f 63 75 |get="ret|urn docu|
|00001720| 6d 65 6e 74 2e 67 65 74 | 41 6e 6f 6e 79 6d 6f 75 |ment.get|Anonymou|
|00001730| 73 45 6c 65 6d 65 6e 74 | 42 79 41 74 74 72 69 62 |sElement|ByAttrib|
|00001740| 75 74 65 28 74 68 69 73 | 2c 20 27 63 6c 61 73 73 |ute(this|, 'class|
|00001750| 27 2c 20 27 69 6e 6e 65 | 72 44 69 76 27 29 3b 22 |', 'inne|rDiv');"|
|00001760| 0a 20 20 20 20 20 20 2f | 3e 0a 0a 20 20 20 20 20 |. /|>.. |
|00001770| 20 3c 70 72 6f 70 65 72 | 74 79 20 6e 61 6d 65 3d | <proper|ty name=|
|00001780| 22 68 65 69 67 68 74 22 | 0a 20 20 20 20 20 20 20 |"height"|. |
|00001790| 20 6f 6e 67 65 74 3d 22 | 72 65 74 75 72 6e 20 74 | onget="|return t|
|000017a0| 68 69 73 2e 67 65 74 41 | 74 74 72 69 62 75 74 65 |his.getA|ttribute|
|000017b0| 28 27 68 65 69 67 68 74 | 27 29 3b 22 0a 20 20 20 |('height|');". |
|000017c0| 20 20 20 20 20 6f 6e 73 | 65 74 3d 22 74 68 69 73 | ons|et="this|
|000017d0| 2e 73 65 74 41 74 74 72 | 69 62 75 74 65 28 27 68 |.setAttr|ibute('h|
|000017e0| 65 69 67 68 74 27 2c 20 | 76 61 6c 29 3b 22 0a 20 |eight', |val);". |
|000017f0| 20 20 20 20 20 2f 3e 0a | 0a 20 20 20 20 20 20 3c | />.|. <|
|00001800| 70 72 6f 70 65 72 74 79 | 20 6e 61 6d 65 3d 22 77 |property| name="w|
|00001810| 69 64 74 68 22 0a 20 20 | 20 20 20 20 20 20 6f 6e |idth". | on|
|00001820| 67 65 74 3d 22 72 65 74 | 75 72 6e 20 74 68 69 73 |get="ret|urn this|
|00001830| 2e 67 65 74 41 74 74 72 | 69 62 75 74 65 28 27 77 |.getAttr|ibute('w|
|00001840| 69 64 74 68 27 29 3b 22 | 0a 20 20 20 20 20 20 20 |idth');"|. |
|00001850| 20 6f 6e 73 65 74 3d 22 | 74 68 69 73 2e 73 65 74 | onset="|this.set|
|00001860| 41 74 74 72 69 62 75 74 | 65 28 27 77 69 64 74 68 |Attribut|e('width|
|00001870| 27 2c 20 76 61 6c 29 3b | 22 0a 20 20 20 20 20 20 |', val);|". |
|00001880| 2f 3e 0a 0a 20 20 20 20 | 20 20 3c 21 2d 2d 20 46 |/>.. | <!-- F|
|00001890| 6f 72 20 73 6e 69 66 66 | 69 6e 67 20 70 75 72 70 |or sniff|ing purp|
|000018a0| 6f 73 65 73 20 2d 2d 3e | 0a 20 20 20 20 20 20 3c |oses -->|. <|
|000018b0| 66 69 65 6c 64 20 6e 61 | 6d 65 3d 22 6e 73 4d 61 |field na|me="nsMa|
|000018c0| 72 71 75 65 65 56 65 72 | 73 69 6f 6e 22 3e 22 30 |rqueeVer|sion">"0|
|000018d0| 2e 39 2e 37 22 3c 2f 66 | 69 65 6c 64 3e 0a 0a 20 |.9.7"</f|ield>.. |
|000018e0| 20 20 20 20 20 3c 6d 65 | 74 68 6f 64 20 6e 61 6d | <me|thod nam|
|000018f0| 65 3d 22 5f 73 65 74 5f | 73 63 72 6f 6c 6c 44 65 |e="_set_|scrollDe|
|00001900| 6c 61 79 22 3e 0a 20 20 | 20 20 20 20 20 20 3c 70 |lay">. | <p|
|00001910| 61 72 61 6d 65 74 65 72 | 20 6e 61 6d 65 3d 22 61 |arameter| name="a|
|00001920| 56 61 6c 75 65 22 2f 3e | 0a 20 20 20 20 20 20 20 |Value"/>|. |
|00001930| 20 3c 62 6f 64 79 3e 0a | 20 20 20 20 20 20 20 20 | <body>.| |
|00001940| 3c 21 5b 43 44 41 54 41 | 5b 0a 20 20 20 20 20 20 |<![CDATA|[. |
|00001950| 20 20 20 20 69 66 20 28 | 61 56 61 6c 75 65 20 3c | if (|aValue <|
|00001960| 3d 20 30 20 7c 7c 20 69 | 73 4e 61 4e 28 61 56 61 |= 0 || i|sNaN(aVa|
|00001970| 6c 75 65 29 20 7c 7c 20 | 61 56 61 6c 75 65 20 3d |lue) || |aValue =|
|00001980| 3d 20 6e 75 6c 6c 29 0a | 20 20 20 20 20 20 20 20 |= null).| |
|00001990| 20 20 20 20 72 65 74 75 | 72 6e 20 66 61 6c 73 65 | retu|rn false|
|000019a0| 3b 0a 0a 20 20 20 20 20 | 20 20 20 20 20 69 66 20 |;.. | if |
|000019b0| 28 61 56 61 6c 75 65 20 | 3c 20 36 30 29 20 7b 0a |(aValue |< 60) {.|
|000019c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|000019d0| 74 68 69 73 2e 74 72 75 | 65 53 70 65 65 64 20 3d |this.tru|eSpeed =|
|000019e0| 3d 20 74 72 75 65 29 0a | 20 20 20 20 20 20 20 20 |= true).| |
|000019f0| 20 20 20 20 20 20 74 68 | 69 73 2e 5f 73 63 72 6f | th|is._scro|
|00001a00| 6c 6c 44 65 6c 61 79 20 | 3d 20 61 56 61 6c 75 65 |llDelay |= aValue|
|00001a10| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6c |;. | el|
|00001a20| 73 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |se. | |
|00001a30| 20 74 68 69 73 2e 5f 73 | 63 72 6f 6c 6c 44 65 6c | this._s|crollDel|
|00001a40| 61 79 20 3d 20 36 30 3b | 0a 20 20 20 20 20 20 20 |ay = 60;|. |
|00001a50| 20 20 20 7d 0a 20 20 20 | 20 20 20 20 20 20 20 65 | }. | e|
|00001a60| 6c 73 65 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |lse {. | |
|00001a70| 20 20 74 68 69 73 2e 5f | 73 63 72 6f 6c 6c 44 65 | this._|scrollDe|
|00001a80| 6c 61 79 20 3d 20 61 56 | 61 6c 75 65 3b 0a 20 20 |lay = aV|alue;. |
|00001a90| 20 20 20 20 20 20 20 20 | 7d 0a 20 20 20 20 20 20 | |}. |
|00001aa0| 20 20 20 20 72 65 74 75 | 72 6e 20 74 72 75 65 3b | retu|rn true;|
|00001ab0| 0a 20 20 20 20 20 20 20 | 20 5d 5d 3e 0a 20 20 20 |. | ]]>. |
|00001ac0| 20 20 20 20 20 3c 2f 62 | 6f 64 79 3e 0a 20 20 20 | </b|ody>. |
|00001ad0| 20 20 20 3c 2f 6d 65 74 | 68 6f 64 3e 0a 0a 20 20 | </met|hod>.. |
|00001ae0| 20 20 20 20 3c 6d 65 74 | 68 6f 64 20 6e 61 6d 65 | <met|hod name|
|00001af0| 3d 22 5f 73 65 74 5f 73 | 63 72 6f 6c 6c 41 6d 6f |="_set_s|crollAmo|
|00001b00| 75 6e 74 22 3e 0a 20 20 | 20 20 20 20 20 20 3c 70 |unt">. | <p|
|00001b10| 61 72 61 6d 65 74 65 72 | 20 6e 61 6d 65 3d 22 61 |arameter| name="a|
|00001b20| 56 61 6c 75 65 22 2f 3e | 0a 20 20 20 20 20 20 20 |Value"/>|. |
|00001b30| 20 3c 62 6f 64 79 3e 0a | 20 20 20 20 20 20 20 20 | <body>.| |
|00001b40| 3c 21 5b 43 44 41 54 41 | 5b 0a 20 20 20 20 20 20 |<![CDATA|[. |
|00001b50| 20 20 20 20 69 66 20 28 | 61 56 61 6c 75 65 20 3c | if (|aValue <|
|00001b60| 20 30 20 7c 7c 20 69 73 | 4e 61 4e 28 61 56 61 6c | 0 || is|NaN(aVal|
|00001b70| 75 65 29 20 7c 7c 20 61 | 56 61 6c 75 65 20 3d 3d |ue) || a|Value ==|
|00001b80| 20 6e 75 6c 6c 29 0a 20 | 20 20 20 20 20 20 20 20 | null). | |
|00001b90| 20 20 20 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b | retur|n false;|
|00001ba0| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 |.. | this|
|00001bb0| 2e 5f 73 63 72 6f 6c 6c | 41 6d 6f 75 6e 74 20 3d |._scroll|Amount =|
|00001bc0| 20 61 56 61 6c 75 65 3b | 0a 20 20 20 20 20 20 20 | aValue;|. |
|00001bd0| 20 20 20 72 65 74 75 72 | 6e 20 74 72 75 65 3b 0a | retur|n true;.|
|00001be0| 20 20 20 20 20 20 20 20 | 5d 5d 3e 0a 20 20 20 20 | |]]>. |
|00001bf0| 20 20 20 20 3c 2f 62 6f | 64 79 3e 0a 20 20 20 20 | </bo|dy>. |
|00001c00| 20 20 3c 2f 6d 65 74 68 | 6f 64 3e 0a 0a 20 20 20 | </meth|od>.. |
|00001c10| 20 20 20 3c 6d 65 74 68 | 6f 64 20 6e 61 6d 65 3d | <meth|od name=|
|00001c20| 22 5f 73 65 74 5f 62 65 | 68 61 76 69 6f 72 22 3e |"_set_be|havior">|
|00001c30| 0a 20 20 20 20 20 20 20 | 20 3c 70 61 72 61 6d 65 |. | <parame|
|00001c40| 74 65 72 20 6e 61 6d 65 | 3d 22 61 56 61 6c 75 65 |ter name|="aValue|
|00001c50| 22 2f 3e 0a 20 20 20 20 | 20 20 20 20 3c 62 6f 64 |"/>. | <bod|
|00001c60| 79 3e 0a 20 20 20 20 20 | 20 20 20 3c 21 5b 43 44 |y>. | <![CD|
|00001c70| 41 54 41 5b 0a 20 20 20 | 20 20 20 20 20 20 20 69 |ATA[. | i|
|00001c80| 66 20 28 74 79 70 65 6f | 66 20 61 56 61 6c 75 65 |f (typeo|f aValue|
|00001c90| 20 3d 3d 20 27 73 74 72 | 69 6e 67 27 29 0a 20 20 | == 'str|ing'). |
|00001ca0| 20 20 20 20 20 20 20 20 | 20 20 61 56 61 6c 75 65 | | aValue|
|00001cb0| 20 3d 20 61 56 61 6c 75 | 65 2e 74 6f 4c 6f 77 65 | = aValu|e.toLowe|
|00001cc0| 72 43 61 73 65 28 29 3b | 0a 20 20 20 20 20 20 20 |rCase();|. |
|00001cd0| 20 20 20 69 66 20 28 61 | 56 61 6c 75 65 20 21 3d | if (a|Value !=|
|00001ce0| 20 27 61 6c 74 65 72 6e | 61 74 65 27 20 26 26 20 | 'altern|ate' && |
|00001cf0| 61 56 61 6c 75 65 20 21 | 3d 20 27 73 6c 69 64 65 |aValue !|= 'slide|
|00001d00| 27 20 26 26 20 61 56 61 | 6c 75 65 20 21 3d 20 27 |' && aVa|lue != '|
|00001d10| 73 63 72 6f 6c 6c 27 29 | 0a 20 20 20 20 20 20 20 |scroll')|. |
|00001d20| 20 20 20 20 20 72 65 74 | 75 72 6e 20 66 61 6c 73 | ret|urn fals|
|00001d30| 65 3b 0a 0a 20 20 20 20 | 20 20 20 20 20 20 74 68 |e;.. | th|
|00001d40| 69 73 2e 5f 62 65 68 61 | 76 69 6f 72 20 3d 20 61 |is._beha|vior = a|
|00001d50| 56 61 6c 75 65 3b 0a 20 | 20 20 20 20 20 20 20 20 |Value;. | |
|00001d60| 20 72 65 74 75 72 6e 20 | 74 72 75 65 3b 0a 20 20 | return |true;. |
|00001d70| 20 20 20 20 20 20 5d 5d | 3e 0a 20 20 20 20 20 20 | ]]|>. |
|00001d80| 20 20 3c 2f 62 6f 64 79 | 3e 0a 20 20 20 20 20 20 | </body|>. |
|00001d90| 3c 2f 6d 65 74 68 6f 64 | 3e 0a 0a 20 20 20 20 20 |</method|>.. |
|00001da0| 20 3c 6d 65 74 68 6f 64 | 20 6e 61 6d 65 3d 22 5f | <method| name="_|
|00001db0| 73 65 74 5f 64 69 72 65 | 63 74 69 6f 6e 22 3e 0a |set_dire|ction">.|
|00001dc0| 20 20 20 20 20 20 20 20 | 3c 70 61 72 61 6d 65 74 | |<paramet|
|00001dd0| 65 72 20 6e 61 6d 65 3d | 22 61 56 61 6c 75 65 22 |er name=|"aValue"|
|00001de0| 2f 3e 0a 20 20 20 20 20 | 20 20 20 3c 62 6f 64 79 |/>. | <body|
|00001df0| 3e 0a 20 20 20 20 20 20 | 20 20 3c 21 5b 43 44 41 |>. | <![CDA|
|00001e00| 54 41 5b 0a 20 20 20 20 | 20 20 20 20 20 20 69 66 |TA[. | if|
|00001e10| 20 28 74 79 70 65 6f 66 | 20 61 56 61 6c 75 65 20 | (typeof| aValue |
|00001e20| 3d 3d 20 27 73 74 72 69 | 6e 67 27 29 0a 20 20 20 |== 'stri|ng'). |
|00001e30| 20 20 20 20 20 20 20 20 | 20 61 56 61 6c 75 65 20 | | aValue |
|00001e40| 3d 20 61 56 61 6c 75 65 | 2e 74 6f 4c 6f 77 65 72 |= aValue|.toLower|
|00001e50| 43 61 73 65 28 29 3b 0a | 20 20 20 20 20 20 20 20 |Case();.| |
|00001e60| 20 20 69 66 20 28 61 56 | 61 6c 75 65 20 21 3d 20 | if (aV|alue != |
|00001e70| 27 6c 65 66 74 27 20 26 | 26 20 61 56 61 6c 75 65 |'left' &|& aValue|
|00001e80| 20 21 3d 20 27 72 69 67 | 68 74 27 20 26 26 20 61 | != 'rig|ht' && a|
|00001e90| 56 61 6c 75 65 20 21 3d | 20 27 75 70 27 20 26 26 |Value !=| 'up' &&|
|00001ea0| 20 61 56 61 6c 75 65 20 | 21 3d 20 27 64 6f 77 6e | aValue |!= 'down|
|00001eb0| 27 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 72 |'). | r|
|00001ec0| 65 74 75 72 6e 20 66 61 | 6c 73 65 3b 0a 0a 20 20 |eturn fa|lse;.. |
|00001ed0| 20 20 20 20 20 20 20 20 | 69 66 20 28 61 56 61 6c | |if (aVal|
|00001ee0| 75 65 20 21 3d 20 74 68 | 69 73 2e 5f 64 69 72 65 |ue != th|is._dire|
|00001ef0| 63 74 69 6f 6e 29 0a 20 | 20 20 20 20 20 20 20 20 |ction). | |
|00001f00| 20 20 20 74 68 69 73 2e | 73 74 61 72 74 4e 65 77 | this.|startNew|
|00001f10| 44 69 72 65 63 74 69 6f | 6e 20 3d 20 74 72 75 65 |Directio|n = true|
|00001f20| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 |;. | this|
|00001f30| 2e 5f 64 69 72 65 63 74 | 69 6f 6e 20 3d 20 61 56 |._direct|ion = aV|
|00001f40| 61 6c 75 65 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |alue;. | |
|00001f50| 72 65 74 75 72 6e 20 74 | 72 75 65 3b 0a 20 20 20 |return t|rue;. |
|00001f60| 20 20 20 20 20 5d 5d 3e | 0a 20 20 20 20 20 20 20 | ]]>|. |
|00001f70| 20 3c 2f 62 6f 64 79 3e | 0a 20 20 20 20 20 20 3c | </body>|. <|
|00001f80| 2f 6d 65 74 68 6f 64 3e | 0a 0a 20 20 20 20 20 20 |/method>|.. |
|00001f90| 3c 6d 65 74 68 6f 64 20 | 6e 61 6d 65 3d 22 5f 73 |<method |name="_s|
|00001fa0| 65 74 5f 6c 6f 6f 70 22 | 3e 0a 20 20 20 20 20 20 |et_loop"|>. |
|00001fb0| 20 20 3c 70 61 72 61 6d | 65 74 65 72 20 6e 61 6d | <param|eter nam|
|00001fc0| 65 3d 22 61 56 61 6c 75 | 65 22 2f 3e 0a 20 20 20 |e="aValu|e"/>. |
|00001fd0| 20 20 20 20 20 3c 62 6f | 64 79 3e 0a 20 20 20 20 | <bo|dy>. |
|00001fe0| 20 20 20 20 20 20 3c 21 | 5b 43 44 41 54 41 5b 0a | <!|[CDATA[.|
|00001ff0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 21 61 | | if (!a|
|00002000| 56 61 6c 75 65 20 7c 7c | 20 69 73 4e 61 4e 28 61 |Value ||| isNaN(a|
|00002010| 56 61 6c 75 65 29 29 0a | 20 20 20 20 20 20 20 20 |Value)).| |
|00002020| 20 20 20 20 72 65 74 75 | 72 6e 20 66 61 6c 73 65 | retu|rn false|
|00002030| 3b 0a 0a 20 20 20 20 20 | 20 20 20 20 20 69 66 20 |;.. | if |
|00002040| 28 61 56 61 6c 75 65 20 | 3c 20 2d 31 29 0a 20 20 |(aValue |< -1). |
|00002050| 20 20 20 20 20 20 20 20 | 20 20 61 56 61 6c 75 65 | | aValue|
|00002060| 20 3d 20 2d 31 3b 0a 0a | 20 20 20 20 20 20 20 20 | = -1;..| |
|00002070| 20 20 74 68 69 73 2e 5f | 6c 6f 6f 70 20 3d 20 61 | this._|loop = a|
|00002080| 56 61 6c 75 65 3b 0a 20 | 20 20 20 20 20 20 20 20 |Value;. | |
|00002090| 20 72 65 74 75 72 6e 20 | 74 72 75 65 3b 0a 20 20 | return |true;. |
|000020a0| 20 20 20 20 20 20 20 20 | 5d 5d 3e 0a 20 20 20 20 | |]]>. |
|000020b0| 20 20 20 20 3c 2f 62 6f | 64 79 3e 0a 20 20 20 20 | </bo|dy>. |
|000020c0| 20 20 3c 2f 6d 65 74 68 | 6f 64 3e 0a 0a 20 20 20 | </meth|od>.. |
|000020d0| 20 20 20 3c 6d 65 74 68 | 6f 64 20 6e 61 6d 65 3d | <meth|od name=|
|000020e0| 22 5f 73 65 74 45 76 65 | 6e 74 4c 69 73 74 65 6e |"_setEve|ntListen|
|000020f0| 65 72 22 3e 0a 20 20 20 | 20 20 20 20 20 3c 70 61 |er">. | <pa|
|00002100| 72 61 6d 65 74 65 72 20 | 6e 61 6d 65 3d 22 61 4e |rameter |name="aN|
|00002110| 61 6d 65 22 2f 3e 0a 20 | 20 20 20 20 20 20 20 3c |ame"/>. | <|
|00002120| 70 61 72 61 6d 65 74 65 | 72 20 6e 61 6d 65 3d 22 |paramete|r name="|
|00002130| 61 56 61 6c 75 65 22 2f | 3e 0a 20 20 20 20 20 20 |aValue"/|>. |
|00002140| 20 20 3c 70 61 72 61 6d | 65 74 65 72 20 6e 61 6d | <param|eter nam|
|00002150| 65 3d 22 61 49 67 6e 6f | 72 65 4e 65 78 74 43 61 |e="aIgno|reNextCa|
|00002160| 6c 6c 22 2f 3e 0a 20 20 | 20 20 20 20 20 20 3c 62 |ll"/>. | <b|
|00002170| 6f 64 79 3e 0a 20 20 20 | 20 20 20 20 20 20 20 3c |ody>. | <|
|00002180| 21 5b 43 44 41 54 41 5b | 0a 20 20 20 20 20 20 20 |![CDATA[|. |
|00002190| 20 20 20 69 66 20 28 74 | 68 69 73 2e 5f 69 67 6e | if (t|his._ign|
|000021a0| 6f 72 65 4e 65 78 74 43 | 61 6c 6c 29 0a 20 20 20 |oreNextC|all). |
|000021b0| 20 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 | | return |
|000021c0| 74 68 69 73 2e 5f 69 67 | 6e 6f 72 65 4e 65 78 74 |this._ig|noreNext|
|000021d0| 43 61 6c 6c 20 3d 20 66 | 61 6c 73 65 3b 0a 0a 20 |Call = f|alse;.. |
|000021e0| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 61 49 67 | | if (aIg|
|000021f0| 6e 6f 72 65 4e 65 78 74 | 43 61 6c 6c 29 0a 20 20 |noreNext|Call). |
|00002200| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 5f | | this._|
|00002210| 69 67 6e 6f 72 65 4e 65 | 78 74 43 61 6c 6c 20 3d |ignoreNe|xtCall =|
|00002220| 20 74 72 75 65 3b 0a 0a | 20 20 20 20 20 20 20 20 | true;..| |
|00002230| 20 20 69 66 20 28 74 79 | 70 65 6f 66 20 74 68 69 | if (ty|peof thi|
|00002240| 73 5b 22 5f 6f 6e 22 20 | 2b 20 61 4e 61 6d 65 5d |s["_on" |+ aName]|
|00002250| 20 3d 3d 20 27 66 75 6e | 63 74 69 6f 6e 27 29 0a | == 'fun|ction').|
|00002260| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 | | this|
|00002270| 2e 72 65 6d 6f 76 65 45 | 76 65 6e 74 4c 69 73 74 |.removeE|ventList|
|00002280| 65 6e 65 72 28 61 4e 61 | 6d 65 2c 20 74 68 69 73 |ener(aNa|me, this|
|00002290| 5b 22 5f 6f 6e 22 20 2b | 20 61 4e 61 6d 65 5d 2c |["_on" +| aName],|
|000022a0| 20 66 61 6c 73 65 29 3b | 0a 0a 20 20 20 20 20 20 | false);|.. |
|000022b0| 20 20 20 20 73 77 69 74 | 63 68 20 28 74 79 70 65 | swit|ch (type|
|000022c0| 6f 66 20 61 56 61 6c 75 | 65 29 0a 20 20 20 20 20 |of aValu|e). |
|000022d0| 20 20 20 20 20 7b 0a 20 | 20 20 20 20 20 20 20 20 | {. | |
|000022e0| 20 20 20 63 61 73 65 20 | 22 66 75 6e 63 74 69 6f | case |"functio|
|000022f0| 6e 22 3a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |n":. | |
|00002300| 20 20 74 68 69 73 5b 22 | 5f 6f 6e 22 20 2b 20 61 | this["|_on" + a|
|00002310| 4e 61 6d 65 5d 20 3d 20 | 61 56 61 6c 75 65 3b 0a |Name] = |aValue;.|
|00002320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00002330| 69 73 2e 61 64 64 45 76 | 65 6e 74 4c 69 73 74 65 |is.addEv|entListe|
|00002340| 6e 65 72 28 61 4e 61 6d | 65 2c 20 74 68 69 73 5b |ner(aNam|e, this[|
|00002350| 22 5f 6f 6e 22 20 2b 20 | 61 4e 61 6d 65 5d 2c 20 |"_on" + |aName], |
|00002360| 66 61 6c 73 65 29 3b 0a | 20 20 20 20 20 20 20 20 |false);.| |
|00002370| 20 20 20 20 62 72 65 61 | 6b 3b 0a 0a 20 20 20 20 | brea|k;.. |
|00002380| 20 20 20 20 20 20 20 20 | 63 61 73 65 20 22 73 74 | |case "st|
|00002390| 72 69 6e 67 22 3a 0a 20 | 20 20 20 20 20 20 20 20 |ring":. | |
|000023a0| 20 20 20 20 20 69 66 20 | 28 21 61 49 67 6e 6f 72 | if |(!aIgnor|
|000023b0| 65 4e 65 78 74 43 61 6c | 6c 29 20 7b 0a 20 20 20 |eNextCal|l) {. |
|000023c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 72 79 | | try|
|000023d0| 20 7b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|000023e0| 20 20 20 20 20 74 68 69 | 73 5b 22 5f 6f 6e 22 20 | thi|s["_on" |
|000023f0| 2b 20 61 4e 61 6d 65 5d | 20 3d 20 6e 65 77 20 46 |+ aName]| = new F|
|00002400| 75 6e 63 74 69 6f 6e 28 | 22 65 76 65 6e 74 22 2c |unction(|"event",|
|00002410| 20 61 56 61 6c 75 65 29 | 3b 0a 20 20 20 20 20 20 | aValue)|;. |
|00002420| 20 20 20 20 20 20 20 20 | 20 20 7d 0a 20 20 20 20 | | }. |
|00002430| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 61 74 63 | | catc|
|00002440| 68 28 65 29 20 7b 0a 20 | 20 20 20 20 20 20 20 20 |h(e) {. | |
|00002450| 20 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 | | return |
|00002460| 66 61 6c 73 65 3b 0a 20 | 20 20 20 20 20 20 20 20 |false;. | |
|00002470| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 20 | }|. |
|00002480| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 61 64 | | this.ad|
|00002490| 64 45 76 65 6e 74 4c 69 | 73 74 65 6e 65 72 28 61 |dEventLi|stener(a|
|000024a0| 4e 61 6d 65 2c 20 74 68 | 69 73 5b 22 5f 6f 6e 22 |Name, th|is["_on"|
|000024b0| 20 2b 20 61 4e 61 6d 65 | 5d 2c 20 66 61 6c 73 65 | + aName|], false|
|000024c0| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|000024d0| 20 7d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|000024e0| 20 65 6c 73 65 20 7b 0a | 20 20 20 20 20 20 20 20 | else {.| |
|000024f0| 20 20 20 20 20 20 20 20 | 74 68 69 73 5b 22 5f 6f | |this["_o|
|00002500| 6e 22 20 2b 20 61 4e 61 | 6d 65 5d 20 3d 20 61 56 |n" + aNa|me] = aV|
|00002510| 61 6c 75 65 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |alue;. | |
|00002520| 20 20 20 20 7d 0a 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00002530| 20 20 62 72 65 61 6b 3b | 0a 0a 20 20 20 20 20 20 | break;|.. |
|00002540| 20 20 20 20 20 20 63 61 | 73 65 20 22 6f 62 6a 65 | ca|se "obje|
|00002550| 63 74 22 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ct":. | |
|00002560| 20 20 20 74 68 69 73 5b | 22 5f 6f 6e 22 20 2b 20 | this[|"_on" + |
|00002570| 61 4e 61 6d 65 5d 20 3d | 20 61 56 61 6c 75 65 3b |aName] =| aValue;|
|00002580| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 62 72 65 |. | bre|
|00002590| 61 6b 3b 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ak;.. | |
|000025a0| 20 64 65 66 61 75 6c 74 | 3a 0a 20 20 20 20 20 20 | default|:. |
|000025b0| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 5f 69 67 | |this._ig|
|000025c0| 6e 6f 72 65 4e 65 78 74 | 43 61 6c 6c 20 3d 20 66 |noreNext|Call = f|
|000025d0| 61 6c 73 65 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |alse;. | |
|000025e0| 20 20 20 20 74 68 72 6f | 77 20 6e 65 77 20 45 72 | thro|w new Er|
|000025f0| 72 6f 72 28 22 49 6e 76 | 61 6c 69 64 20 61 72 67 |ror("Inv|alid arg|
|00002600| 75 6d 65 6e 74 20 66 6f | 72 20 4d 61 72 71 75 65 |ument fo|r Marque|
|00002610| 65 3a 3a 6f 6e 22 20 2b | 20 61 4e 61 6d 65 29 3b |e::on" +| aName);|
|00002620| 0a 20 20 20 20 20 20 20 | 20 20 20 7d 0a 20 20 20 |. | }. |
|00002630| 20 20 20 20 20 20 20 72 | 65 74 75 72 6e 20 74 72 | r|eturn tr|
|00002640| 75 65 3b 0a 20 20 20 20 | 20 20 20 20 20 20 5d 5d |ue;. | ]]|
|00002650| 3e 0a 20 20 20 20 20 20 | 20 20 3c 2f 62 6f 64 79 |>. | </body|
|00002660| 3e 0a 20 20 20 20 20 20 | 3c 2f 6d 65 74 68 6f 64 |>. |</method|
|00002670| 3e 0a 0a 20 20 20 20 20 | 20 3c 6d 65 74 68 6f 64 |>.. | <method|
|00002680| 20 6e 61 6d 65 3d 22 5f | 66 69 72 65 45 76 65 6e | name="_|fireEven|
|00002690| 74 22 3e 0a 20 20 20 20 | 20 20 20 20 3c 70 61 72 |t">. | <par|
|000026a0| 61 6d 65 74 65 72 20 6e | 61 6d 65 3d 22 61 4e 61 |ameter n|ame="aNa|
|000026b0| 6d 65 22 2f 3e 0a 20 20 | 20 20 20 20 20 20 3c 70 |me"/>. | <p|
|000026c0| 61 72 61 6d 65 74 65 72 | 20 6e 61 6d 65 3d 22 61 |arameter| name="a|
|000026d0| 42 75 62 62 6c 65 73 22 | 2f 3e 0a 20 20 20 20 20 |Bubbles"|/>. |
|000026e0| 20 20 20 3c 70 61 72 61 | 6d 65 74 65 72 20 6e 61 | <para|meter na|
|000026f0| 6d 65 3d 22 61 43 61 6e | 63 65 6c 61 62 6c 65 22 |me="aCan|celable"|
|00002700| 2f 3e 0a 20 20 20 20 20 | 20 20 20 3c 62 6f 64 79 |/>. | <body|
|00002710| 3e 0a 20 20 20 20 20 20 | 20 20 3c 21 5b 43 44 41 |>. | <![CDA|
|00002720| 54 41 5b 0a 20 20 20 20 | 20 20 20 20 20 20 76 61 |TA[. | va|
|00002730| 72 20 65 20 3d 20 64 6f | 63 75 6d 65 6e 74 2e 63 |r e = do|cument.c|
|00002740| 72 65 61 74 65 45 76 65 | 6e 74 28 22 45 76 65 6e |reateEve|nt("Even|
|00002750| 74 73 22 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |ts");. | |
|00002760| 65 2e 69 6e 69 74 45 76 | 65 6e 74 28 61 4e 61 6d |e.initEv|ent(aNam|
|00002770| 65 2c 20 61 42 75 62 62 | 6c 65 73 2c 20 61 43 61 |e, aBubb|les, aCa|
|00002780| 6e 63 65 6c 61 62 6c 65 | 29 3b 0a 20 20 20 20 20 |ncelable|);. |
|00002790| 20 20 20 20 20 74 68 69 | 73 2e 64 69 73 70 61 74 | thi|s.dispat|
|000027a0| 63 68 45 76 65 6e 74 28 | 65 29 3b 0a 20 20 20 20 |chEvent(|e);. |
|000027b0| 20 20 20 20 5d 5d 3e 0a | 20 20 20 20 20 20 20 20 | ]]>.| |
|000027c0| 3c 2f 62 6f 64 79 3e 0a | 20 20 20 20 20 20 3c 2f |</body>.| </|
|000027d0| 6d 65 74 68 6f 64 3e 0a | 0a 20 20 20 20 20 20 3c |method>.|. <|
|000027e0| 6d 65 74 68 6f 64 20 6e | 61 6d 65 3d 22 73 74 61 |method n|ame="sta|
|000027f0| 72 74 22 3e 0a 20 20 20 | 20 20 20 20 20 3c 62 6f |rt">. | <bo|
|00002800| 64 79 3e 0a 20 20 20 20 | 20 20 20 20 3c 21 5b 43 |dy>. | <![C|
|00002810| 44 41 54 41 5b 0a 20 20 | 20 20 20 20 20 20 20 20 |DATA[. | |
|00002820| 69 66 20 28 74 68 69 73 | 2e 72 75 6e 49 64 20 3d |if (this|.runId =|
|00002830| 3d 20 30 29 0a 20 20 20 | 20 20 20 20 20 20 20 20 |= 0). | |
|00002840| 20 74 68 69 73 2e 5f 64 | 6f 4d 6f 76 65 28 66 61 | this._d|oMove(fa|
|00002850| 6c 73 65 29 3b 0a 20 20 | 20 20 20 20 20 20 5d 5d |lse);. | ]]|
|00002860| 3e 0a 20 20 20 20 20 20 | 20 20 3c 2f 62 6f 64 79 |>. | </body|
|00002870| 3e 0a 20 20 20 20 20 20 | 3c 2f 6d 65 74 68 6f 64 |>. |</method|
|00002880| 3e 0a 0a 20 20 20 20 20 | 20 3c 6d 65 74 68 6f 64 |>.. | <method|
|00002890| 20 6e 61 6d 65 3d 22 73 | 74 6f 70 22 3e 0a 20 20 | name="s|top">. |
|000028a0| 20 20 20 20 20 20 3c 62 | 6f 64 79 3e 0a 20 20 20 | <b|ody>. |
|000028b0| 20 20 20 20 20 3c 21 5b | 43 44 41 54 41 5b 0a 20 | <![|CDATA[. |
|000028c0| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 74 68 69 | | if (thi|
|000028d0| 73 2e 72 75 6e 49 64 20 | 21 3d 20 30 29 0a 20 20 |s.runId |!= 0). |
|000028e0| 20 20 20 20 20 20 20 20 | 20 20 63 6c 65 61 72 54 | | clearT|
|000028f0| 69 6d 65 6f 75 74 28 74 | 68 69 73 2e 72 75 6e 49 |imeout(t|his.runI|
|00002900| 64 29 3b 0a 0a 20 20 20 | 20 20 20 20 20 20 20 74 |d);.. | t|
|00002910| 68 69 73 2e 72 75 6e 49 | 64 20 3d 20 30 3b 0a 20 |his.runI|d = 0;. |
|00002920| 20 20 20 20 20 20 20 5d | 5d 3e 0a 20 20 20 20 20 | ]|]>. |
|00002930| 20 20 20 3c 2f 62 6f 64 | 79 3e 0a 20 20 20 20 20 | </bod|y>. |
|00002940| 20 3c 2f 6d 65 74 68 6f | 64 3e 0a 0a 20 20 20 20 | </metho|d>.. |
|00002950| 20 20 3c 6d 65 74 68 6f | 64 20 6e 61 6d 65 3d 22 | <metho|d name="|
|00002960| 5f 64 6f 4d 6f 76 65 22 | 3e 0a 20 20 20 20 20 20 |_doMove"|>. |
|00002970| 20 20 3c 70 61 72 61 6d | 65 74 65 72 20 6e 61 6d | <param|eter nam|
|00002980| 65 3d 22 61 52 65 73 65 | 74 50 6f 73 69 74 69 6f |e="aRese|tPositio|
|00002990| 6e 22 2f 3e 0a 20 20 20 | 20 20 20 20 20 3c 62 6f |n"/>. | <bo|
|000029a0| 64 79 3e 0a 20 20 20 20 | 20 20 20 20 3c 21 5b 43 |dy>. | <![C|
|000029b0| 44 41 54 41 5b 0a 0a 20 | 20 20 20 20 20 20 20 20 |DATA[.. | |
|000029c0| 20 2f 2f 73 74 61 72 74 | 4e 65 77 44 69 72 65 63 | //start|NewDirec|
|000029d0| 74 69 6f 6e 20 69 73 20 | 74 72 75 65 20 61 74 20 |tion is |true at |
|000029e0| 66 69 72 73 74 20 6c 6f | 61 64 20 61 6e 64 20 77 |first lo|ad and w|
|000029f0| 68 65 6e 65 76 65 72 20 | 74 68 65 20 64 69 72 65 |henever |the dire|
|00002a00| 63 74 69 6f 6e 20 69 73 | 20 63 68 61 6e 67 65 64 |ction is| changed|
|00002a10| 0a 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 74 |. | if (t|
|00002a20| 68 69 73 2e 73 74 61 72 | 74 4e 65 77 44 69 72 65 |his.star|tNewDire|
|00002a30| 63 74 69 6f 6e 29 20 7b | 0a 20 20 20 20 20 20 20 |ction) {|. |
|00002a40| 20 20 20 20 20 74 68 69 | 73 2e 73 74 61 72 74 4e | thi|s.startN|
|00002a50| 65 77 44 69 72 65 63 74 | 69 6f 6e 20 3d 20 66 61 |ewDirect|ion = fa|
|00002a60| 6c 73 65 3b 20 2f 2f 77 | 65 20 6f 6e 6c 79 20 77 |lse; //w|e only w|
|00002a70| 61 6e 74 20 74 68 69 73 | 20 74 6f 20 72 75 6e 20 |ant this| to run |
|00002a80| 6f 6e 63 65 20 65 76 65 | 72 79 20 73 63 72 6f 6c |once eve|ry scrol|
|00002a90| 6c 20 64 69 72 65 63 74 | 69 6f 6e 20 63 68 61 6e |l direct|ion chan|
|00002aa0| 67 65 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ge.. | |
|00002ab0| 76 61 72 20 63 6f 72 72 | 76 61 6c 75 65 20 3d 20 |var corr|value = |
|00002ac0| 30 3b 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |0;.. | |
|00002ad0| 73 77 69 74 63 68 20 28 | 74 68 69 73 2e 5f 64 69 |switch (|this._di|
|00002ae0| 72 65 63 74 69 6f 6e 29 | 0a 20 20 20 20 20 20 20 |rection)|. |
|00002af0| 20 20 20 20 20 7b 0a 20 | 20 20 20 20 20 20 20 20 | {. | |
|00002b00| 20 20 20 20 20 63 61 73 | 65 20 22 75 70 22 3a 0a | cas|e "up":.|
|00002b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b20| 76 61 72 20 68 65 69 67 | 68 74 20 3d 20 64 6f 63 |var heig|ht = doc|
|00002b30| 75 6d 65 6e 74 2e 64 65 | 66 61 75 6c 74 56 69 65 |ument.de|faultVie|
|00002b40| 77 2e 67 65 74 43 6f 6d | 70 75 74 65 64 53 74 79 |w.getCom|putedSty|
|00002b50| 6c 65 28 74 68 69 73 2c | 20 22 22 29 2e 68 65 69 |le(this,| "").hei|
|00002b60| 67 68 74 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ght;. | |
|00002b70| 20 20 20 20 20 74 68 69 | 73 2e 6f 75 74 65 72 44 | thi|s.outerD|
|00002b80| 69 76 2e 73 74 79 6c 65 | 2e 68 65 69 67 68 74 20 |iv.style|.height |
|00002b90| 3d 20 68 65 69 67 68 74 | 3b 0a 20 20 20 20 20 20 |= height|;. |
|00002ba0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 74 68 | | if (th|
|00002bb0| 69 73 2e 6f 72 69 67 69 | 6e 61 6c 48 65 69 67 68 |is.origi|nalHeigh|
|00002bc0| 74 20 3e 20 74 68 69 73 | 2e 6f 75 74 65 72 44 69 |t > this|.outerDi|
|00002bd0| 76 2e 6f 66 66 73 65 74 | 48 65 69 67 68 74 29 0a |v.offset|Height).|
|00002be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002bf0| 20 20 20 20 63 6f 72 72 | 76 61 6c 75 65 20 3d 20 | corr|value = |
|00002c00| 74 68 69 73 2e 6f 72 69 | 67 69 6e 61 6c 48 65 69 |this.ori|ginalHei|
|00002c10| 67 68 74 20 2d 20 74 68 | 69 73 2e 6f 75 74 65 72 |ght - th|is.outer|
|00002c20| 44 69 76 2e 6f 66 66 73 | 65 74 48 65 69 67 68 74 |Div.offs|etHeight|
|00002c30| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00002c40| 20 20 74 68 69 73 2e 69 | 6e 6e 65 72 44 69 76 2e | this.i|nnerDiv.|
|00002c50| 73 74 79 6c 65 2e 70 61 | 64 64 69 6e 67 20 3d 20 |style.pa|dding = |
|00002c60| 68 65 69 67 68 74 20 2b | 20 22 20 30 22 3b 0a 20 |height +| " 0";. |
|00002c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00002c80| 68 69 73 2e 64 69 72 73 | 69 67 6e 20 3d 20 31 3b |his.dirs|ign = 1;|
|00002c90| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002ca0| 20 74 68 69 73 2e 73 74 | 61 72 74 41 74 20 3d 20 | this.st|artAt = |
|00002cb0| 28 74 68 69 73 2e 5f 62 | 65 68 61 76 69 6f 72 20 |(this._b|ehavior |
|00002cc0| 3d 3d 20 27 61 6c 74 65 | 72 6e 61 74 65 27 29 20 |== 'alte|rnate') |
|00002cd0| 3f 20 28 74 68 69 73 2e | 6f 72 69 67 69 6e 61 6c |? (this.|original|
|00002ce0| 48 65 69 67 68 74 20 2d | 20 63 6f 72 72 76 61 6c |Height -| corrval|
|00002cf0| 75 65 29 20 3a 20 30 3b | 0a 20 20 20 20 20 20 20 |ue) : 0;|. |
|00002d00| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 73 74 | | this.st|
|00002d10| 6f 70 41 74 20 20 3d 20 | 28 74 68 69 73 2e 5f 62 |opAt = |(this._b|
|00002d20| 65 68 61 76 69 6f 72 20 | 3d 3d 20 27 61 6c 74 65 |ehavior |== 'alte|
|00002d30| 72 6e 61 74 65 27 20 7c | 7c 20 74 68 69 73 2e 5f |rnate' ||| this._|
|00002d40| 62 65 68 61 76 69 6f 72 | 20 3d 3d 20 27 73 6c 69 |behavior| == 'sli|
|00002d50| 64 65 27 29 20 3f 20 0a | 20 20 20 20 20 20 20 20 |de') ? .| |
|00002d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d70| 20 20 20 20 20 20 20 20 | 28 70 61 72 73 65 49 6e | |(parseIn|
|00002d80| 74 28 68 65 69 67 68 74 | 29 20 2b 20 63 6f 72 72 |t(height|) + corr|
|00002d90| 76 61 6c 75 65 29 20 3a | 20 28 74 68 69 73 2e 6f |value) :| (this.o|
|00002da0| 72 69 67 69 6e 61 6c 48 | 65 69 67 68 74 20 2b 20 |riginalH|eight + |
|00002db0| 70 61 72 73 65 49 6e 74 | 28 68 65 69 67 68 74 29 |parseInt|(height)|
|00002dc0| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|00002dd0| 20 62 72 65 61 6b 3b 0a | 0a 20 20 20 20 20 20 20 | break;.|. |
|00002de0| 20 20 20 20 20 20 20 63 | 61 73 65 20 22 64 6f 77 | c|ase "dow|
|00002df0| 6e 22 3a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |n":. | |
|00002e00| 20 20 20 20 76 61 72 20 | 68 65 69 67 68 74 20 3d | var |height =|
|00002e10| 20 64 6f 63 75 6d 65 6e | 74 2e 64 65 66 61 75 6c | documen|t.defaul|
|00002e20| 74 56 69 65 77 2e 67 65 | 74 43 6f 6d 70 75 74 65 |tView.ge|tCompute|
|00002e30| 64 53 74 79 6c 65 28 74 | 68 69 73 2c 20 22 22 29 |dStyle(t|his, "")|
|00002e40| 2e 68 65 69 67 68 74 3b | 0a 20 20 20 20 20 20 20 |.height;|. |
|00002e50| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 6f 75 | | this.ou|
|00002e60| 74 65 72 44 69 76 2e 73 | 74 79 6c 65 2e 68 65 69 |terDiv.s|tyle.hei|
|00002e70| 67 68 74 20 3d 20 68 65 | 69 67 68 74 3b 0a 20 20 |ght = he|ight;. |
|00002e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|00002e90| 20 28 74 68 69 73 2e 6f | 72 69 67 69 6e 61 6c 48 | (this.o|riginalH|
|00002ea0| 65 69 67 68 74 20 3e 20 | 74 68 69 73 2e 6f 75 74 |eight > |this.out|
|00002eb0| 65 72 44 69 76 2e 6f 66 | 66 73 65 74 48 65 69 67 |erDiv.of|fsetHeig|
|00002ec0| 68 74 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ht). | |
|00002ed0| 20 20 20 20 20 20 20 20 | 63 6f 72 72 76 61 6c 75 | |corrvalu|
|00002ee0| 65 20 3d 20 74 68 69 73 | 2e 6f 72 69 67 69 6e 61 |e = this|.origina|
|00002ef0| 6c 48 65 69 67 68 74 20 | 2d 20 74 68 69 73 2e 6f |lHeight |- this.o|
|00002f00| 75 74 65 72 44 69 76 2e | 6f 66 66 73 65 74 48 65 |uterDiv.|offsetHe|
|00002f10| 69 67 68 74 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |ight;. | |
|00002f20| 20 20 20 20 20 20 74 68 | 69 73 2e 69 6e 6e 65 72 | th|is.inner|
|00002f30| 44 69 76 2e 73 74 79 6c | 65 2e 70 61 64 64 69 6e |Div.styl|e.paddin|
|00002f40| 67 20 3d 20 68 65 69 67 | 68 74 20 2b 20 22 20 30 |g = heig|ht + " 0|
|00002f50| 22 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |";. | |
|00002f60| 20 20 20 74 68 69 73 2e | 64 69 72 73 69 67 6e 20 | this.|dirsign |
|00002f70| 3d 20 2d 31 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |= -1;. | |
|00002f80| 20 20 20 20 20 20 74 68 | 69 73 2e 73 74 61 72 74 | th|is.start|
|00002f90| 41 74 20 20 3d 20 28 74 | 68 69 73 2e 5f 62 65 68 |At = (t|his._beh|
|00002fa0| 61 76 69 6f 72 20 3d 3d | 20 27 61 6c 74 65 72 6e |avior ==| 'altern|
|00002fb0| 61 74 65 27 29 20 3f 0a | 20 20 20 20 20 20 20 20 |ate') ?.| |
|00002fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002fd0| 20 20 20 20 20 20 20 20 | 28 70 61 72 73 65 49 6e | |(parseIn|
|00002fe0| 74 28 68 65 69 67 68 74 | 29 20 2b 20 63 6f 72 72 |t(height|) + corr|
|00002ff0| 76 61 6c 75 65 29 20 3a | 20 28 74 68 69 73 2e 6f |value) :| (this.o|
|00003000| 72 69 67 69 6e 61 6c 48 | 65 69 67 68 74 20 2b 20 |riginalH|eight + |
|00003010| 70 61 72 73 65 49 6e 74 | 28 68 65 69 67 68 74 29 |parseInt|(height)|
|00003020| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|00003030| 20 20 20 74 68 69 73 2e | 73 74 6f 70 41 74 20 3d | this.|stopAt =|
|00003040| 20 28 74 68 69 73 2e 5f | 62 65 68 61 76 69 6f 72 | (this._|behavior|
|00003050| 20 3d 3d 20 27 61 6c 74 | 65 72 6e 61 74 65 27 20 | == 'alt|ernate' |
|00003060| 7c 7c 20 74 68 69 73 2e | 5f 62 65 68 61 76 69 6f ||| this.|_behavio|
|00003070| 72 20 3d 3d 20 27 73 6c | 69 64 65 27 29 20 3f 20 |r == 'sl|ide') ? |
|00003080| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 | | (|
|000030a0| 74 68 69 73 2e 6f 72 69 | 67 69 6e 61 6c 48 65 69 |this.ori|ginalHei|
|000030b0| 67 68 74 20 2d 20 63 6f | 72 72 76 61 6c 75 65 29 |ght - co|rrvalue)|
|000030c0| 20 3a 20 30 3b 0a 20 20 | 20 20 20 20 20 20 20 20 | : 0;. | |
|000030d0| 20 20 20 20 62 72 65 61 | 6b 3b 0a 0a 20 20 20 20 | brea|k;.. |
|000030e0| 20 20 20 20 20 20 20 20 | 20 20 63 61 73 65 20 22 | | case "|
|000030f0| 72 69 67 68 74 22 3a 0a | 20 20 20 20 20 20 20 20 |right":.| |
|00003100| 20 20 20 20 20 20 20 20 | 69 66 20 28 74 68 69 73 | |if (this|
|00003110| 2e 69 6e 6e 65 72 44 69 | 76 2e 6f 66 66 73 65 74 |.innerDi|v.offset|
|00003120| 57 69 64 74 68 20 3e 20 | 74 68 69 73 2e 6f 75 74 |Width > |this.out|
|00003130| 65 72 44 69 76 2e 6f 66 | 66 73 65 74 57 69 64 74 |erDiv.of|fsetWidt|
|00003140| 68 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |h). | |
|00003150| 20 20 20 20 20 20 20 63 | 6f 72 72 76 61 6c 75 65 | c|orrvalue|
|00003160| 20 3d 20 74 68 69 73 2e | 69 6e 6e 65 72 44 69 76 | = this.|innerDiv|
|00003170| 2e 6f 66 66 73 65 74 57 | 69 64 74 68 20 2d 20 74 |.offsetW|idth - t|
|00003180| 68 69 73 2e 6f 75 74 65 | 72 44 69 76 2e 6f 66 66 |his.oute|rDiv.off|
|00003190| 73 65 74 57 69 64 74 68 | 3b 0a 20 20 20 20 20 20 |setWidth|;. |
|000031a0| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 64 | | this.d|
|000031b0| 69 72 73 69 67 6e 20 3d | 20 2d 31 3b 0a 20 20 20 |irsign =| -1;. |
|000031c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 | | thi|
|000031d0| 73 2e 73 74 6f 70 41 74 | 20 20 3d 20 28 74 68 69 |s.stopAt| = (thi|
|000031e0| 73 2e 5f 62 65 68 61 76 | 69 6f 72 20 3d 3d 20 27 |s._behav|ior == '|
|000031f0| 61 6c 74 65 72 6e 61 74 | 65 27 20 7c 7c 20 74 68 |alternat|e' || th|
|00003200| 69 73 2e 5f 62 65 68 61 | 76 69 6f 72 20 3d 3d 20 |is._beha|vior == |
|00003210| 27 73 6c 69 64 65 27 29 | 20 3f 20 0a 20 20 20 20 |'slide')| ? . |
|00003220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003230| 20 20 20 20 20 20 20 20 | 20 20 20 28 74 68 69 73 | | (this|
|00003240| 2e 69 6e 6e 65 72 44 69 | 76 2e 6f 66 66 73 65 74 |.innerDi|v.offset|
|00003250| 57 69 64 74 68 20 2d 20 | 63 6f 72 72 76 61 6c 75 |Width - |corrvalu|
|00003260| 65 29 20 3a 20 30 3b 0a | 20 20 20 20 20 20 20 20 |e) : 0;.| |
|00003270| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 73 74 61 | |this.sta|
|00003280| 72 74 41 74 20 3d 20 74 | 68 69 73 2e 6f 75 74 65 |rtAt = t|his.oute|
|00003290| 72 44 69 76 2e 6f 66 66 | 73 65 74 57 69 64 74 68 |rDiv.off|setWidth|
|000032a0| 20 2b 20 28 28 74 68 69 | 73 2e 5f 62 65 68 61 76 | + ((thi|s._behav|
|000032b0| 69 6f 72 20 3d 3d 20 27 | 61 6c 74 65 72 6e 61 74 |ior == '|alternat|
|000032c0| 65 27 29 20 3f 20 0a 20 | 20 20 20 20 20 20 20 20 |e') ? . | |
|000032d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032e0| 20 20 20 20 20 20 63 6f | 72 72 76 61 6c 75 65 20 | co|rrvalue |
|000032f0| 3a 20 28 74 68 69 73 2e | 69 6e 6e 65 72 44 69 76 |: (this.|innerDiv|
|00003300| 2e 6f 66 66 73 65 74 57 | 69 64 74 68 20 2b 20 74 |.offsetW|idth + t|
|00003310| 68 69 73 2e 73 74 6f 70 | 41 74 29 29 3b 20 20 20 |his.stop|At)); |
|00003320| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 62 |. | b|
|00003330| 72 65 61 6b 3b 0a 0a 20 | 20 20 20 20 20 20 20 20 |reak;.. | |
|00003340| 20 20 20 20 20 63 61 73 | 65 20 22 6c 65 66 74 22 | cas|e "left"|
|00003350| 3a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |:. | |
|00003360| 64 65 66 61 75 6c 74 3a | 0a 20 20 20 20 20 20 20 |default:|. |
|00003370| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 74 68 69 | | if (thi|
|00003380| 73 2e 69 6e 6e 65 72 44 | 69 76 2e 6f 66 66 73 65 |s.innerD|iv.offse|
|00003390| 74 57 69 64 74 68 20 3e | 20 74 68 69 73 2e 6f 75 |tWidth >| this.ou|
|000033a0| 74 65 72 44 69 76 2e 6f | 66 66 73 65 74 57 69 64 |terDiv.o|ffsetWid|
|000033b0| 74 68 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |th). | |
|000033c0| 20 20 20 20 20 20 20 20 | 63 6f 72 72 76 61 6c 75 | |corrvalu|
|000033d0| 65 20 3d 20 74 68 69 73 | 2e 69 6e 6e 65 72 44 69 |e = this|.innerDi|
|000033e0| 76 2e 6f 66 66 73 65 74 | 57 69 64 74 68 20 2d 20 |v.offset|Width - |
|000033f0| 74 68 69 73 2e 6f 75 74 | 65 72 44 69 76 2e 6f 66 |this.out|erDiv.of|
|00003400| 66 73 65 74 57 69 64 74 | 68 3b 0a 20 20 20 20 20 |fsetWidt|h;. |
|00003410| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|00003420| 64 69 72 73 69 67 6e 20 | 3d 20 31 3b 0a 20 20 20 |dirsign |= 1;. |
|00003430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 | | thi|
|00003440| 73 2e 73 74 61 72 74 41 | 74 20 3d 20 28 74 68 69 |s.startA|t = (thi|
|00003450| 73 2e 5f 62 65 68 61 76 | 69 6f 72 20 3d 3d 20 27 |s._behav|ior == '|
|00003460| 61 6c 74 65 72 6e 61 74 | 65 27 29 20 3f 20 28 74 |alternat|e') ? (t|
|00003470| 68 69 73 2e 69 6e 6e 65 | 72 44 69 76 2e 6f 66 66 |his.inne|rDiv.off|
|00003480| 73 65 74 57 69 64 74 68 | 20 2d 20 63 6f 72 72 76 |setWidth| - corrv|
|00003490| 61 6c 75 65 29 20 3a 20 | 30 3b 0a 20 20 20 20 20 |alue) : |0;. |
|000034a0| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|000034b0| 73 74 6f 70 41 74 20 20 | 3d 20 74 68 69 73 2e 6f |stopAt |= this.o|
|000034c0| 75 74 65 72 44 69 76 2e | 6f 66 66 73 65 74 57 69 |uterDiv.|offsetWi|
|000034d0| 64 74 68 20 2b 20 0a 20 | 20 20 20 20 20 20 20 20 |dth + . | |
|000034e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000034f0| 20 20 20 20 20 20 28 28 | 74 68 69 73 2e 5f 62 65 | ((|this._be|
|00003500| 68 61 76 69 6f 72 20 3d | 3d 20 27 61 6c 74 65 72 |havior =|= 'alter|
|00003510| 6e 61 74 65 27 20 7c 7c | 20 74 68 69 73 2e 5f 62 |nate' ||| this._b|
|00003520| 65 68 61 76 69 6f 72 20 | 3d 3d 20 27 73 6c 69 64 |ehavior |== 'slid|
|00003530| 65 27 29 20 3f 20 0a 20 | 20 20 20 20 20 20 20 20 |e') ? . | |
|00003540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003550| 20 20 20 20 20 20 63 6f | 72 72 76 61 6c 75 65 20 | co|rrvalue |
|00003560| 3a 20 28 74 68 69 73 2e | 69 6e 6e 65 72 44 69 76 |: (this.|innerDiv|
|00003570| 2e 6f 66 66 73 65 74 57 | 69 64 74 68 20 2b 20 74 |.offsetW|idth + t|
|00003580| 68 69 73 2e 73 74 61 72 | 74 41 74 29 29 3b 0a 20 |his.star|tAt));. |
|00003590| 20 20 20 20 20 20 20 20 | 20 20 20 7d 0a 0a 20 20 | | }.. |
|000035a0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 61 52 | | if (aR|
|000035b0| 65 73 65 74 50 6f 73 69 | 74 69 6f 6e 29 20 7b 0a |esetPosi|tion) {.|
|000035c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|000035d0| 69 73 2e 6e 65 77 50 6f | 73 69 74 69 6f 6e 20 3d |is.newPo|sition =|
|000035e0| 20 74 68 69 73 2e 73 74 | 61 72 74 41 74 3b 0a 20 | this.st|artAt;. |
|000035f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 | | thi|
|00003600| 73 2e 5f 66 69 72 65 45 | 76 65 6e 74 28 22 73 74 |s._fireE|vent("st|
|00003610| 61 72 74 22 2c 20 66 61 | 6c 73 65 2c 20 66 61 6c |art", fa|lse, fal|
|00003620| 73 65 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |se);. | |
|00003630| 20 7d 0a 20 20 20 20 20 | 20 20 20 20 20 7d 20 2f | }. | } /|
|00003640| 2f 65 6e 64 20 69 66 0a | 0a 20 20 20 20 20 20 20 |/end if.|. |
|00003650| 20 20 20 74 68 69 73 2e | 6e 65 77 50 6f 73 69 74 | this.|newPosit|
|00003660| 69 6f 6e 20 3d 20 74 68 | 69 73 2e 6e 65 77 50 6f |ion = th|is.newPo|
|00003670| 73 69 74 69 6f 6e 20 2b | 20 28 74 68 69 73 2e 64 |sition +| (this.d|
|00003680| 69 72 73 69 67 6e 20 2a | 20 74 68 69 73 2e 5f 73 |irsign *| this._s|
|00003690| 63 72 6f 6c 6c 41 6d 6f | 75 6e 74 29 3b 0a 0a 20 |crollAmo|unt);.. |
|000036a0| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 28 74 68 | | if ((th|
|000036b0| 69 73 2e 64 69 72 73 69 | 67 6e 20 3d 3d 20 31 20 |is.dirsi|gn == 1 |
|000036c0| 26 26 20 74 68 69 73 2e | 6e 65 77 50 6f 73 69 74 |&& this.|newPosit|
|000036d0| 69 6f 6e 20 3e 20 74 68 | 69 73 2e 73 74 6f 70 41 |ion > th|is.stopA|
|000036e0| 74 29 20 7c 7c 0a 20 20 | 20 20 20 20 20 20 20 20 |t) ||. | |
|000036f0| 20 20 20 20 28 74 68 69 | 73 2e 64 69 72 73 69 67 | (thi|s.dirsig|
|00003700| 6e 20 3d 3d 20 2d 31 20 | 26 26 20 74 68 69 73 2e |n == -1 |&& this.|
|00003710| 6e 65 77 50 6f 73 69 74 | 69 6f 6e 20 3c 20 74 68 |newPosit|ion < th|
|00003720| 69 73 2e 73 74 6f 70 41 | 74 29 29 0a 20 20 20 20 |is.stopA|t)). |
|00003730| 20 20 20 20 20 20 7b 0a | 20 20 20 20 20 20 20 20 | {.| |
|00003740| 20 20 20 20 73 77 69 74 | 63 68 20 28 74 68 69 73 | swit|ch (this|
|00003750| 2e 5f 62 65 68 61 76 69 | 6f 72 29 20 0a 20 20 20 |._behavi|or) . |
|00003760| 20 20 20 20 20 20 20 20 | 20 7b 0a 20 20 20 20 20 | | {. |
|00003770| 20 20 20 20 20 20 20 20 | 20 63 61 73 65 20 27 61 | | case 'a|
|00003780| 6c 74 65 72 6e 61 74 65 | 27 3a 0a 20 20 20 20 20 |lternate|':. |
|00003790| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2f 20 6c 65 | | // le|
|000037a0| 74 73 20 73 74 61 72 74 | 20 61 66 72 65 73 68 0a |ts start| afresh.|
|000037b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000037c0| 74 68 69 73 2e 73 74 61 | 72 74 4e 65 77 44 69 72 |this.sta|rtNewDir|
|000037d0| 65 63 74 69 6f 6e 20 3d | 20 74 72 75 65 3b 0a 0a |ection =| true;..|
|000037e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000037f0| 2f 2f 20 73 77 61 70 20 | 64 69 72 65 63 74 69 6f |// swap |directio|
|00003800| 6e 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n. | |
|00003810| 20 20 63 6f 6e 73 74 20 | 73 77 61 70 20 3d 20 7b | const |swap = {|
|00003820| 6c 65 66 74 3a 20 22 72 | 69 67 68 74 22 2c 20 64 |left: "r|ight", d|
|00003830| 6f 77 6e 3a 20 22 75 70 | 22 2c 20 75 70 3a 20 22 |own: "up|", up: "|
|00003840| 64 6f 77 6e 22 2c 20 72 | 69 67 68 74 3a 20 22 6c |down", r|ight: "l|
|00003850| 65 66 74 22 7d 3b 0a 20 | 20 20 20 20 20 20 20 20 |eft"};. | |
|00003860| 20 20 20 20 20 20 20 74 | 68 69 73 2e 5f 64 69 72 | t|his._dir|
|00003870| 65 63 74 69 6f 6e 20 3d | 20 73 77 61 70 5b 74 68 |ection =| swap[th|
|00003880| 69 73 2e 5f 64 69 72 65 | 63 74 69 6f 6e 5d 3b 0a |is._dire|ction];.|
|00003890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000038a0| 74 68 69 73 2e 6e 65 77 | 50 6f 73 69 74 69 6f 6e |this.new|Position|
|000038b0| 20 3d 20 74 68 69 73 2e | 73 74 6f 70 41 74 3b 0a | = this.|stopAt;.|
|000038c0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000038d0| 20 69 66 20 28 28 74 68 | 69 73 2e 5f 64 69 72 65 | if ((th|is._dire|
|000038e0| 63 74 69 6f 6e 20 3d 3d | 20 22 75 70 22 29 20 7c |ction ==| "up") ||
|000038f0| 7c 20 28 74 68 69 73 2e | 5f 64 69 72 65 63 74 69 || (this.|_directi|
|00003900| 6f 6e 20 3d 3d 20 22 64 | 6f 77 6e 22 29 29 0a 20 |on == "d|own")). |
|00003910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003920| 20 74 68 69 73 2e 6f 75 | 74 65 72 44 69 76 2e 73 | this.ou|terDiv.s|
|00003930| 63 72 6f 6c 6c 54 6f 70 | 20 3d 20 74 68 69 73 2e |crollTop| = this.|
|00003940| 6e 65 77 50 6f 73 69 74 | 69 6f 6e 3b 0a 20 20 20 |newPosit|ion;. |
|00003950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6c 73 | | els|
|00003960| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e. | |
|00003970| 20 20 20 20 74 68 69 73 | 2e 6f 75 74 65 72 44 69 | this|.outerDi|
|00003980| 76 2e 73 63 72 6f 6c 6c | 4c 65 66 74 20 3d 20 74 |v.scroll|Left = t|
|00003990| 68 69 73 2e 6e 65 77 50 | 6f 73 69 74 69 6f 6e 3b |his.newP|osition;|
|000039a0| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000039b0| 20 20 69 66 20 28 74 68 | 69 73 2e 5f 6c 6f 6f 70 | if (th|is._loop|
|000039c0| 20 21 3d 20 31 29 0a 20 | 20 20 20 20 20 20 20 20 | != 1). | |
|000039d0| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 5f 66 | | this._f|
|000039e0| 69 72 65 45 76 65 6e 74 | 28 22 62 6f 75 6e 63 65 |ireEvent|("bounce|
|000039f0| 22 2c 20 66 61 6c 73 65 | 2c 20 74 72 75 65 29 3b |", false|, true);|
|00003a00| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 62 |. | b|
|00003a10| 72 65 61 6b 3b 0a 0a 20 | 20 20 20 20 20 20 20 20 |reak;.. | |
|00003a20| 20 20 20 20 20 63 61 73 | 65 20 27 73 6c 69 64 65 | cas|e 'slide|
|00003a30| 27 3a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |':. | |
|00003a40| 20 20 20 69 66 20 28 74 | 68 69 73 2e 5f 6c 6f 6f | if (t|his._loo|
|00003a50| 70 20 3e 20 31 29 0a 20 | 20 20 20 20 20 20 20 20 |p > 1). | |
|00003a60| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 6e 65 | | this.ne|
|00003a70| 77 50 6f 73 69 74 69 6f | 6e 20 3d 20 74 68 69 73 |wPositio|n = this|
|00003a80| 2e 73 74 61 72 74 41 74 | 3b 0a 20 20 20 20 20 20 |.startAt|;. |
|00003a90| 20 20 20 20 20 20 20 20 | 62 72 65 61 6b 3b 0a 0a | |break;..|
|00003aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 64 65 | | de|
|00003ab0| 66 61 75 6c 74 3a 0a 20 | 20 20 20 20 20 20 20 20 |fault:. | |
|00003ac0| 20 20 20 20 20 20 20 74 | 68 69 73 2e 6e 65 77 50 | t|his.newP|
|00003ad0| 6f 73 69 74 69 6f 6e 20 | 3d 20 74 68 69 73 2e 73 |osition |= this.s|
|00003ae0| 74 61 72 74 41 74 3b 0a | 0a 20 20 20 20 20 20 20 |tartAt;.|. |
|00003af0| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 28 74 68 | | if ((th|
|00003b00| 69 73 2e 5f 64 69 72 65 | 63 74 69 6f 6e 20 3d 3d |is._dire|ction ==|
|00003b10| 20 22 75 70 22 29 20 7c | 7c 20 28 74 68 69 73 2e | "up") ||| (this.|
|00003b20| 5f 64 69 72 65 63 74 69 | 6f 6e 20 3d 3d 20 22 64 |_directi|on == "d|
|00003b30| 6f 77 6e 22 29 29 0a 20 | 20 20 20 20 20 20 20 20 |own")). | |
|00003b40| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 6f 75 | | this.ou|
|00003b50| 74 65 72 44 69 76 2e 73 | 63 72 6f 6c 6c 54 6f 70 |terDiv.s|crollTop|
|00003b60| 20 3d 20 74 68 69 73 2e | 6e 65 77 50 6f 73 69 74 | = this.|newPosit|
|00003b70| 69 6f 6e 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ion;. | |
|00003b80| 20 20 20 20 20 65 6c 73 | 65 0a 20 20 20 20 20 20 | els|e. |
|00003b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 | | this|
|00003ba0| 2e 6f 75 74 65 72 44 69 | 76 2e 73 63 72 6f 6c 6c |.outerDi|v.scroll|
|00003bb0| 4c 65 66 74 20 3d 20 74 | 68 69 73 2e 6e 65 77 50 |Left = t|his.newP|
|00003bc0| 6f 73 69 74 69 6f 6e 3b | 0a 0a 20 20 20 20 20 20 |osition;|.. |
|00003bd0| 20 20 20 20 20 20 20 20 | 20 20 2f 2f 64 69 73 70 | | //disp|
|00003be0| 61 74 63 68 20 73 74 61 | 72 74 20 65 76 65 6e 74 |atch sta|rt event|
|00003bf0| 2c 20 65 76 65 6e 20 77 | 68 65 6e 20 74 68 69 73 |, even w|hen this|
|00003c00| 2e 5f 6c 6f 6f 70 20 3d | 3d 20 31 2c 20 63 6f 6d |._loop =|= 1, com|
|00003c10| 70 2e 20 77 69 74 68 20 | 49 45 36 0a 20 20 20 20 |p. with |IE6. |
|00003c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 | | this|
|00003c30| 2e 5f 66 69 72 65 45 76 | 65 6e 74 28 22 73 74 61 |._fireEv|ent("sta|
|00003c40| 72 74 22 2c 20 66 61 6c | 73 65 2c 20 66 61 6c 73 |rt", fal|se, fals|
|00003c50| 65 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |e);. | |
|00003c60| 7d 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 69 |}.. | i|
|00003c70| 66 20 28 74 68 69 73 2e | 5f 6c 6f 6f 70 20 3e 20 |f (this.|_loop > |
|00003c80| 31 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |1). | |
|00003c90| 20 74 68 69 73 2e 5f 6c | 6f 6f 70 2d 2d 3b 0a 20 | this._l|oop--;. |
|00003ca0| 20 20 20 20 20 20 20 20 | 20 20 20 65 6c 73 65 20 | | else |
|00003cb0| 69 66 20 28 74 68 69 73 | 2e 5f 6c 6f 6f 70 20 3d |if (this|._loop =|
|00003cc0| 3d 20 31 29 20 7b 0a 20 | 20 20 20 20 20 20 20 20 |= 1) {. | |
|00003cd0| 20 20 20 20 20 69 66 20 | 28 28 74 68 69 73 2e 5f | if |((this._|
|00003ce0| 64 69 72 65 63 74 69 6f | 6e 20 3d 3d 20 22 75 70 |directio|n == "up|
|00003cf0| 22 29 20 7c 7c 20 28 74 | 68 69 73 2e 5f 64 69 72 |") || (t|his._dir|
|00003d00| 65 63 74 69 6f 6e 20 3d | 3d 20 22 64 6f 77 6e 22 |ection =|= "down"|
|00003d10| 29 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |)). | |
|00003d20| 20 20 20 74 68 69 73 2e | 6f 75 74 65 72 44 69 76 | this.|outerDiv|
|00003d30| 2e 73 63 72 6f 6c 6c 54 | 6f 70 20 3d 20 74 68 69 |.scrollT|op = thi|
|00003d40| 73 2e 73 74 6f 70 41 74 | 3b 0a 20 20 20 20 20 20 |s.stopAt|;. |
|00003d50| 20 20 20 20 20 20 20 20 | 65 6c 73 65 0a 20 20 20 | |else. |
|00003d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 | | thi|
|00003d70| 73 2e 6f 75 74 65 72 44 | 69 76 2e 73 63 72 6f 6c |s.outerD|iv.scrol|
|00003d80| 6c 4c 65 66 74 20 3d 20 | 74 68 69 73 2e 73 74 6f |lLeft = |this.sto|
|00003d90| 70 41 74 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |pAt;. | |
|00003da0| 20 20 20 74 68 69 73 2e | 73 74 6f 70 28 29 3b 0a | this.|stop();.|
|00003db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00003dc0| 69 73 2e 5f 66 69 72 65 | 45 76 65 6e 74 28 22 66 |is._fire|Event("f|
|00003dd0| 69 6e 69 73 68 22 2c 20 | 66 61 6c 73 65 2c 20 74 |inish", |false, t|
|00003de0| 72 75 65 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |rue);. | |
|00003df0| 20 20 20 20 72 65 74 75 | 72 6e 3b 0a 20 20 20 20 | retu|rn;. |
|00003e00| 20 20 20 20 20 20 20 20 | 7d 0a 20 20 20 20 20 20 | |}. |
|00003e10| 20 20 20 20 7d 0a 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00003e20| 65 6c 73 65 20 7b 0a 20 | 20 20 20 20 20 20 20 20 |else {. | |
|00003e30| 20 20 20 69 66 20 28 28 | 74 68 69 73 2e 5f 64 69 | if ((|this._di|
|00003e40| 72 65 63 74 69 6f 6e 20 | 3d 3d 20 22 75 70 22 29 |rection |== "up")|
|00003e50| 20 7c 7c 20 28 74 68 69 | 73 2e 5f 64 69 72 65 63 | || (thi|s._direc|
|00003e60| 74 69 6f 6e 20 3d 3d 20 | 22 64 6f 77 6e 22 29 29 |tion == |"down"))|
|00003e70| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 |. | t|
|00003e80| 68 69 73 2e 6f 75 74 65 | 72 44 69 76 2e 73 63 72 |his.oute|rDiv.scr|
|00003e90| 6f 6c 6c 54 6f 70 20 3d | 20 74 68 69 73 2e 6e 65 |ollTop =| this.ne|
|00003ea0| 77 50 6f 73 69 74 69 6f | 6e 3b 0a 20 20 20 20 20 |wPositio|n;. |
|00003eb0| 20 20 20 20 20 20 20 65 | 6c 73 65 0a 20 20 20 20 | e|lse. |
|00003ec0| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 6f | | this.o|
|00003ed0| 75 74 65 72 44 69 76 2e | 73 63 72 6f 6c 6c 4c 65 |uterDiv.|scrollLe|
|00003ee0| 66 74 20 3d 20 74 68 69 | 73 2e 6e 65 77 50 6f 73 |ft = thi|s.newPos|
|00003ef0| 69 74 69 6f 6e 3b 0a 20 | 20 20 20 20 20 20 20 20 |ition;. | |
|00003f00| 20 7d 0a 0a 20 20 20 20 | 20 20 20 20 20 20 76 61 | }.. | va|
|00003f10| 72 20 6d 79 54 68 69 73 | 20 3d 20 74 68 69 73 3b |r myThis| = this;|
|00003f20| 0a 20 20 20 20 20 20 20 | 20 20 20 76 61 72 20 6c |. | var l|
|00003f30| 61 6d 62 64 61 20 3d 20 | 66 75 6e 63 74 69 6f 6e |ambda = |function|
|00003f40| 20 6d 79 54 69 6d 65 4f | 75 74 46 75 6e 63 74 69 | myTimeO|utFuncti|
|00003f50| 6f 6e 28 29 7b 6d 79 54 | 68 69 73 2e 5f 64 6f 4d |on(){myT|his._doM|
|00003f60| 6f 76 65 28 66 61 6c 73 | 65 29 3b 7d 0a 20 20 20 |ove(fals|e);}. |
|00003f70| 20 20 20 20 20 20 20 74 | 68 69 73 2e 72 75 6e 49 | t|his.runI|
|00003f80| 64 20 3d 20 77 69 6e 64 | 6f 77 2e 73 65 74 54 69 |d = wind|ow.setTi|
|00003f90| 6d 65 6f 75 74 28 6c 61 | 6d 62 64 61 2c 20 74 68 |meout(la|mbda, th|
|00003fa0| 69 73 2e 5f 73 63 72 6f | 6c 6c 44 65 6c 61 79 29 |is._scro|llDelay)|
|00003fb0| 3b 0a 20 20 20 20 20 20 | 20 20 5d 5d 3e 0a 20 20 |;. | ]]>. |
|00003fc0| 20 20 20 20 20 20 3c 2f | 62 6f 64 79 3e 0a 20 20 | </|body>. |
|00003fd0| 20 20 20 20 3c 2f 6d 65 | 74 68 6f 64 3e 0a 0a 20 | </me|thod>.. |
|00003fe0| 20 20 20 20 20 3c 6d 65 | 74 68 6f 64 20 6e 61 6d | <me|thod nam|
|00003ff0| 65 3d 22 69 6e 69 74 22 | 3e 0a 20 20 20 20 20 20 |e="init"|>. |
|00004000| 20 20 3c 62 6f 64 79 3e | 0a 20 20 20 20 20 20 20 | <body>|. |
|00004010| 20 3c 21 5b 43 44 41 54 | 41 5b 0a 20 20 20 20 20 | <![CDAT|A[. |
|00004020| 20 20 20 20 20 74 68 69 | 73 2e 73 74 6f 70 28 29 | thi|s.stop()|
|00004030| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 2f 2f 20 73 |;. | // s|
|00004040| 74 6f 72 65 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |tore the| origina|
|00004050| 6c 20 68 65 69 67 68 74 | 20 62 65 66 6f 72 65 20 |l height| before |
|00004060| 77 65 20 61 64 64 20 70 | 61 64 64 69 6e 67 0a 20 |we add p|adding. |
|00004070| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 69 6e | | this.in|
|00004080| 6e 65 72 44 69 76 2e 73 | 74 79 6c 65 2e 70 61 64 |nerDiv.s|tyle.pad|
|00004090| 64 69 6e 67 20 3d 20 30 | 3b 0a 20 20 20 20 20 20 |ding = 0|;. |
|000040a0| 20 20 20 20 74 68 69 73 | 2e 6f 72 69 67 69 6e 61 | this|.origina|
|000040b0| 6c 48 65 69 67 68 74 20 | 3d 20 74 68 69 73 2e 69 |lHeight |= this.i|
|000040c0| 6e 6e 65 72 44 69 76 2e | 6f 66 66 73 65 74 48 65 |nnerDiv.|offsetHe|
|000040d0| 69 67 68 74 3b 0a 0a 20 | 20 20 20 20 20 20 20 20 |ight;.. | |
|000040e0| 20 74 68 69 73 2e 5f 64 | 6f 4d 6f 76 65 28 74 72 | this._d|oMove(tr|
|000040f0| 75 65 29 3b 0a 20 20 20 | 20 20 20 20 20 5d 5d 3e |ue);. | ]]>|
|00004100| 0a 20 20 20 20 20 20 20 | 20 3c 2f 62 6f 64 79 3e |. | </body>|
|00004110| 0a 20 20 20 20 20 20 3c | 2f 6d 65 74 68 6f 64 3e |. <|/method>|
|00004120| 0a 0a 20 20 20 20 20 20 | 3c 63 6f 6e 73 74 72 75 |.. |<constru|
|00004130| 63 74 6f 72 3e 0a 20 20 | 20 20 20 20 20 20 3c 21 |ctor>. | <!|
|00004140| 5b 43 44 41 54 41 5b 0a | 20 20 20 20 20 20 20 20 |[CDATA[.| |
|00004150| 20 20 76 61 72 20 6d 79 | 54 68 69 73 20 3d 20 74 | var my|This = t|
|00004160| 68 69 73 3b 0a 20 20 20 | 20 20 20 20 20 20 20 76 |his;. | v|
|00004170| 61 72 20 6c 61 6d 62 64 | 61 20 3d 20 66 75 6e 63 |ar lambd|a = func|
|00004180| 74 69 6f 6e 20 6d 79 53 | 63 6f 70 65 46 75 6e 63 |tion myS|copeFunc|
|00004190| 74 69 6f 6e 28 29 20 7b | 20 6d 79 54 68 69 73 2e |tion() {| myThis.|
|000041a0| 69 6e 69 74 28 29 3b 20 | 7d 0a 0a 20 20 20 20 20 |init(); |}.. |
|000041b0| 20 20 20 20 20 74 68 69 | 73 2e 5f 73 65 74 5f 64 | thi|s._set_d|
|000041c0| 69 72 65 63 74 69 6f 6e | 28 74 68 69 73 2e 67 65 |irection|(this.ge|
|000041d0| 74 41 74 74 72 69 62 75 | 74 65 28 27 64 69 72 65 |tAttribu|te('dire|
|000041e0| 63 74 69 6f 6e 27 29 29 | 3b 0a 20 20 20 20 20 20 |ction'))|;. |
|000041f0| 20 20 20 20 74 68 69 73 | 2e 5f 73 65 74 5f 62 65 | this|._set_be|
|00004200| 68 61 76 69 6f 72 28 74 | 68 69 73 2e 67 65 74 41 |havior(t|his.getA|
|00004210| 74 74 72 69 62 75 74 65 | 28 27 62 65 68 61 76 69 |ttribute|('behavi|
|00004220| 6f 72 27 29 29 3b 0a 20 | 20 20 20 20 20 20 20 20 |or'));. | |
|00004230| 20 74 68 69 73 2e 5f 73 | 65 74 5f 73 63 72 6f 6c | this._s|et_scrol|
|00004240| 6c 44 65 6c 61 79 28 74 | 68 69 73 2e 67 65 74 41 |lDelay(t|his.getA|
|00004250| 74 74 72 69 62 75 74 65 | 28 27 73 63 72 6f 6c 6c |ttribute|('scroll|
|00004260| 64 65 6c 61 79 27 29 29 | 3b 0a 20 20 20 20 20 20 |delay'))|;. |
|00004270| 20 20 20 20 74 68 69 73 | 2e 5f 73 65 74 5f 73 63 | this|._set_sc|
|00004280| 72 6f 6c 6c 41 6d 6f 75 | 6e 74 28 74 68 69 73 2e |rollAmou|nt(this.|
|00004290| 67 65 74 41 74 74 72 69 | 62 75 74 65 28 27 73 63 |getAttri|bute('sc|
|000042a0| 72 6f 6c 6c 61 6d 6f 75 | 6e 74 27 29 29 3b 0a 20 |rollamou|nt'));. |
|000042b0| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 5f 73 | | this._s|
|000042c0| 65 74 5f 6c 6f 6f 70 28 | 74 68 69 73 2e 67 65 74 |et_loop(|this.get|
|000042d0| 41 74 74 72 69 62 75 74 | 65 28 27 6c 6f 6f 70 27 |Attribut|e('loop'|
|000042e0| 29 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 74 68 |));. | th|
|000042f0| 69 73 2e 5f 73 65 74 45 | 76 65 6e 74 4c 69 73 74 |is._setE|ventList|
|00004300| 65 6e 65 72 28 22 73 74 | 61 72 74 22 2c 20 74 68 |ener("st|art", th|
|00004310| 69 73 2e 67 65 74 41 74 | 74 72 69 62 75 74 65 28 |is.getAt|tribute(|
|00004320| 22 6f 6e 73 74 61 72 74 | 22 29 29 3b 0a 20 20 20 |"onstart|"));. |
|00004330| 20 20 20 20 20 20 20 74 | 68 69 73 2e 5f 73 65 74 | t|his._set|
|00004340| 45 76 65 6e 74 4c 69 73 | 74 65 6e 65 72 28 22 66 |EventLis|tener("f|
|00004350| 69 6e 69 73 68 22 2c 20 | 74 68 69 73 2e 67 65 74 |inish", |this.get|
|00004360| 41 74 74 72 69 62 75 74 | 65 28 22 6f 6e 66 69 6e |Attribut|e("onfin|
|00004370| 69 73 68 22 29 29 3b 0a | 20 20 20 20 20 20 20 20 |ish"));.| |
|00004380| 20 20 74 68 69 73 2e 5f | 73 65 74 45 76 65 6e 74 | this._|setEvent|
|00004390| 4c 69 73 74 65 6e 65 72 | 28 22 62 6f 75 6e 63 65 |Listener|("bounce|
|000043a0| 22 2c 20 74 68 69 73 2e | 67 65 74 41 74 74 72 69 |", this.|getAttri|
|000043b0| 62 75 74 65 28 22 6f 6e | 62 6f 75 6e 63 65 22 29 |bute("on|bounce")|
|000043c0| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 74 68 69 |);. | thi|
|000043d0| 73 2e 73 74 61 72 74 4e | 65 77 44 69 72 65 63 74 |s.startN|ewDirect|
|000043e0| 69 6f 6e 20 3d 20 74 72 | 75 65 3b 0a 0a 20 20 20 |ion = tr|ue;.. |
|000043f0| 20 20 20 20 20 20 20 2f | 2f 20 69 6e 69 74 20 6e | /|/ init n|
|00004400| 65 65 64 73 20 74 6f 20 | 62 65 20 72 75 6e 20 61 |eeds to |be run a|
|00004410| 66 74 65 72 20 74 68 65 | 20 70 61 67 65 20 68 61 |fter the| page ha|
|00004420| 73 20 6c 6f 61 64 65 64 | 20 69 6e 20 6f 72 64 65 |s loaded| in orde|
|00004430| 72 20 74 6f 20 63 61 6c | 63 75 6c 61 74 65 0a 20 |r to cal|culate. |
|00004440| 20 20 20 20 20 20 20 20 | 20 2f 2f 20 74 68 65 20 | | // the |
|00004450| 63 6f 72 72 65 63 74 20 | 68 65 69 67 68 74 2f 77 |correct |height/w|
|00004460| 69 64 74 68 0a 20 20 20 | 20 20 20 20 20 20 20 77 |idth. | w|
|00004470| 69 6e 64 6f 77 2e 61 64 | 64 45 76 65 6e 74 4c 69 |indow.ad|dEventLi|
|00004480| 73 74 65 6e 65 72 28 22 | 6c 6f 61 64 22 2c 20 6c |stener("|load", l|
|00004490| 61 6d 62 64 61 2c 20 66 | 61 6c 73 65 29 3b 0a 20 |ambda, f|alse);. |
|000044a0| 20 20 20 20 20 20 20 5d | 5d 3e 0a 20 20 20 20 20 | ]|]>. |
|000044b0| 20 3c 2f 63 6f 6e 73 74 | 72 75 63 74 6f 72 3e 0a | </const|ructor>.|
|000044c0| 20 20 20 20 3c 2f 69 6d | 70 6c 65 6d 65 6e 74 61 | </im|plementa|
|000044d0| 74 69 6f 6e 3e 0a 0a 20 | 20 20 20 3c 68 61 6e 64 |tion>.. | <hand|
|000044e0| 6c 65 72 73 3e 0a 20 20 | 20 20 20 20 3c 68 61 6e |lers>. | <han|
|000044f0| 64 6c 65 72 20 65 76 65 | 6e 74 3d 22 44 4f 4d 41 |dler eve|nt="DOMA|
|00004500| 74 74 72 4d 6f 64 69 66 | 69 65 64 22 20 70 68 61 |ttrModif|ied" pha|
|00004510| 73 65 3d 22 74 61 72 67 | 65 74 22 3e 0a 20 20 20 |se="targ|et">. |
|00004520| 20 20 20 20 20 3c 21 5b | 43 44 41 54 41 5b 0a 20 | <![|CDATA[. |
|00004530| 20 20 20 20 20 20 20 20 | 20 76 61 72 20 61 74 74 | | var att|
|00004540| 72 4e 61 6d 65 20 3d 20 | 65 76 65 6e 74 2e 61 74 |rName = |event.at|
|00004550| 74 72 4e 61 6d 65 2e 74 | 6f 4c 6f 77 65 72 43 61 |trName.t|oLowerCa|
|00004560| 73 65 28 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |se();. | |
|00004570| 76 61 72 20 6f 6c 64 56 | 61 6c 75 65 20 3d 20 65 |var oldV|alue = e|
|00004580| 76 65 6e 74 2e 70 72 65 | 76 56 61 6c 75 65 2e 74 |vent.pre|vValue.t|
|00004590| 6f 4c 6f 77 65 72 43 61 | 73 65 28 29 3b 0a 20 20 |oLowerCa|se();. |
|000045a0| 20 20 20 20 20 20 20 20 | 76 61 72 20 6e 65 77 56 | |var newV|
|000045b0| 61 6c 75 65 20 3d 20 65 | 76 65 6e 74 2e 6e 65 77 |alue = e|vent.new|
|000045c0| 56 61 6c 75 65 2e 74 6f | 4c 6f 77 65 72 43 61 73 |Value.to|LowerCas|
|000045d0| 65 28 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 76 |e();. | v|
|000045e0| 61 72 20 61 74 74 72 69 | 62 75 74 65 52 65 6d 6f |ar attri|buteRemo|
|000045f0| 76 61 6c 20 3d 20 66 61 | 6c 73 65 3b 0a 20 20 20 |val = fa|lse;. |
|00004600| 20 20 20 20 20 20 20 69 | 66 20 28 65 76 65 6e 74 | i|f (event|
|00004610| 2e 61 74 74 72 43 68 61 | 6e 67 65 20 3d 3d 20 65 |.attrCha|nge == e|
|00004620| 76 65 6e 74 2e 52 45 4d | 4f 56 41 4c 29 20 7b 0a |vent.REM|OVAL) {.|
|00004630| 20 20 20 20 20 20 20 20 | 20 20 20 20 6e 65 77 56 | | newV|
|00004640| 61 6c 75 65 20 3d 20 6e | 75 6c 6c 3b 0a 20 20 20 |alue = n|ull;. |
|00004650| 20 20 20 20 20 20 20 20 | 20 61 74 74 72 69 62 75 | | attribu|
|00004660| 74 65 52 65 6d 6f 76 61 | 6c 20 3d 20 74 72 75 65 |teRemova|l = true|
|00004670| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 7d 3b 0a 0a |;. | };..|
|00004680| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 6f 6c | | if (ol|
|00004690| 64 56 61 6c 75 65 20 21 | 3d 20 6e 65 77 56 61 6c |dValue !|= newVal|
|000046a0| 75 65 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |ue) {. | |
|000046b0| 20 20 73 77 69 74 63 68 | 20 28 61 74 74 72 4e 61 | switch| (attrNa|
|000046c0| 6d 65 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |me) {. | |
|000046d0| 20 20 20 20 63 61 73 65 | 20 22 6c 6f 6f 70 22 3a | case| "loop":|
|000046e0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000046f0| 20 69 66 20 28 21 74 68 | 69 73 2e 5f 73 65 74 5f | if (!th|is._set_|
|00004700| 6c 6f 6f 70 28 6e 65 77 | 56 61 6c 75 65 29 29 20 |loop(new|Value)) |
|00004710| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{. | |
|00004720| 20 20 20 20 69 66 20 28 | 61 74 74 72 69 62 75 74 | if (|attribut|
|00004730| 65 52 65 6d 6f 76 61 6c | 29 20 7b 0a 20 20 20 20 |eRemoval|) {. |
|00004740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004750| 74 68 69 73 2e 5f 6c 6f | 6f 70 20 3d 20 2d 31 3b |this._lo|op = -1;|
|00004760| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004770| 20 20 20 20 20 69 66 20 | 28 74 68 69 73 2e 72 75 | if |(this.ru|
|00004780| 6e 49 64 20 3d 3d 20 30 | 29 0a 20 20 20 20 20 20 |nId == 0|). |
|00004790| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000047a0| 74 68 69 73 2e 73 74 61 | 72 74 28 29 3b 0a 20 20 |this.sta|rt();. |
|000047b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000047c0| 7d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|000047d0| 20 20 20 20 65 6c 73 65 | 0a 20 20 20 20 20 20 20 | else|. |
|000047e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 72 | | thr|
|000047f0| 6f 77 20 6e 65 77 20 45 | 72 72 6f 72 28 22 49 6e |ow new E|rror("In|
|00004800| 76 61 6c 69 64 20 61 72 | 67 75 6d 65 6e 74 20 66 |valid ar|gument f|
|00004810| 6f 72 20 4d 61 72 71 75 | 65 65 3a 3a 6c 6f 6f 70 |or Marqu|ee::loop|
|00004820| 22 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |");. | |
|00004830| 20 20 20 20 7d 0a 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00004840| 20 20 20 20 20 20 69 66 | 20 28 74 68 69 73 2e 72 | if| (this.r|
|00004850| 75 6e 64 49 64 20 3d 3d | 20 30 29 0a 20 20 20 20 |undId ==| 0). |
|00004860| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00004870| 69 73 2e 73 74 61 72 74 | 28 29 3b 0a 20 20 20 20 |is.start|();. |
|00004880| 20 20 20 20 20 20 20 20 | 20 20 20 20 62 72 65 61 | | brea|
|00004890| 6b 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |k;. | |
|000048a0| 20 63 61 73 65 20 22 73 | 63 72 6f 6c 6c 61 6d 6f | case "s|crollamo|
|000048b0| 75 6e 74 22 3a 0a 20 20 | 20 20 20 20 20 20 20 20 |unt":. | |
|000048c0| 20 20 20 20 20 20 69 66 | 20 28 21 74 68 69 73 2e | if| (!this.|
|000048d0| 5f 73 65 74 5f 73 63 72 | 6f 6c 6c 41 6d 6f 75 6e |_set_scr|ollAmoun|
|000048e0| 74 28 6e 65 77 56 61 6c | 75 65 29 29 20 7b 0a 20 |t(newVal|ue)) {. |
|000048f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004900| 20 69 66 20 28 61 74 74 | 72 69 62 75 74 65 52 65 | if (att|ributeRe|
|00004910| 6d 6f 76 61 6c 29 0a 20 | 20 20 20 20 20 20 20 20 |moval). | |
|00004920| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|00004930| 5f 73 63 72 6f 6c 6c 41 | 6d 6f 75 6e 74 20 3d 20 |_scrollA|mount = |
|00004940| 36 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |6;. | |
|00004950| 20 20 20 20 20 65 6c 73 | 65 0a 20 20 20 20 20 20 | els|e. |
|00004960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00004970| 72 6f 77 20 6e 65 77 20 | 45 72 72 6f 72 28 22 49 |row new |Error("I|
|00004980| 6e 76 61 6c 69 64 20 61 | 72 67 75 6d 65 6e 74 20 |nvalid a|rgument |
|00004990| 66 6f 72 20 4d 61 72 71 | 75 65 65 3a 3a 73 63 72 |for Marq|uee::scr|
|000049a0| 6f 6c 6c 41 6d 6f 75 6e | 74 22 29 3b 0a 20 20 20 |ollAmoun|t");. |
|000049b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7d 0a 20 | | }. |
|000049c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 62 | | b|
|000049d0| 72 65 61 6b 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |reak;. | |
|000049e0| 20 20 20 20 63 61 73 65 | 20 22 73 63 72 6f 6c 6c | case| "scroll|
|000049f0| 64 65 6c 61 79 22 3a 0a | 20 20 20 20 20 20 20 20 |delay":.| |
|00004a00| 20 20 20 20 20 20 20 20 | 69 66 20 28 21 74 68 69 | |if (!thi|
|00004a10| 73 2e 5f 73 65 74 5f 73 | 63 72 6f 6c 6c 44 65 6c |s._set_s|crollDel|
|00004a20| 61 79 28 6e 65 77 56 61 | 6c 75 65 29 29 20 7b 0a |ay(newVa|lue)) {.|
|00004a30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004a40| 20 20 69 66 20 28 61 74 | 74 72 69 62 75 74 65 52 | if (at|tributeR|
|00004a50| 65 6d 6f 76 61 6c 29 0a | 20 20 20 20 20 20 20 20 |emoval).| |
|00004a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 | | this|
|00004a70| 2e 5f 73 63 72 6f 6c 6c | 44 65 6c 61 79 20 3d 20 |._scroll|Delay = |
|00004a80| 38 35 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |85;. | |
|00004a90| 20 20 20 20 20 20 65 6c | 73 65 0a 20 20 20 20 20 | el|se. |
|00004aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00004ab0| 68 72 6f 77 20 6e 65 77 | 20 45 72 72 6f 72 28 22 |hrow new| Error("|
|00004ac0| 49 6e 76 61 6c 69 64 20 | 61 72 67 75 6d 65 6e 74 |Invalid |argument|
|00004ad0| 20 66 6f 72 20 4d 61 72 | 71 75 65 65 3a 3a 73 63 | for Mar|quee::sc|
|00004ae0| 72 6f 6c 6c 44 65 6c 61 | 79 22 29 3b 0a 20 20 20 |rollDela|y");. |
|00004af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7d 0a 20 | | }. |
|00004b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00004b10| 68 69 73 2e 73 74 6f 70 | 28 29 3b 0a 20 20 20 20 |his.stop|();. |
|00004b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 | | this|
|00004b30| 2e 73 74 61 72 74 28 29 | 3b 0a 20 20 20 20 20 20 |.start()|;. |
|00004b40| 20 20 20 20 20 20 20 20 | 20 20 62 72 65 61 6b 3b | | break;|
|00004b50| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 |. | c|
|00004b60| 61 73 65 20 22 74 72 75 | 65 73 70 65 65 64 22 3a |ase "tru|espeed":|
|00004b70| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004b80| 20 2f 2f 6e 65 65 64 65 | 64 20 74 6f 20 75 70 64 | //neede|d to upd|
|00004b90| 61 74 65 20 74 68 69 73 | 2e 5f 73 63 72 6f 6c 6c |ate this|._scroll|
|00004ba0| 44 65 6c 61 79 0a 20 20 | 20 20 20 20 20 20 20 20 |Delay. | |
|00004bb0| 20 20 20 20 20 20 76 61 | 72 20 6d 79 54 68 69 73 | va|r myThis|
|00004bc0| 20 3d 20 74 68 69 73 3b | 0a 20 20 20 20 20 20 20 | = this;|. |
|00004bd0| 20 20 20 20 20 20 20 20 | 20 76 61 72 20 6c 61 6d | | var lam|
|00004be0| 62 64 61 20 3d 20 66 75 | 6e 63 74 69 6f 6e 28 29 |bda = fu|nction()|
|00004bf0| 20 7b 6d 79 54 68 69 73 | 2e 5f 73 65 74 5f 73 63 | {myThis|._set_sc|
|00004c00| 72 6f 6c 6c 44 65 6c 61 | 79 28 6d 79 54 68 69 73 |rollDela|y(myThis|
|00004c10| 2e 67 65 74 41 74 74 72 | 69 62 75 74 65 28 27 73 |.getAttr|ibute('s|
|00004c20| 63 72 6f 6c 6c 64 65 6c | 61 79 27 29 29 3b 7d 0a |crolldel|ay'));}.|
|00004c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c40| 77 69 6e 64 6f 77 2e 73 | 65 74 54 69 6d 65 6f 75 |window.s|etTimeou|
|00004c50| 74 28 6c 61 6d 62 64 61 | 2c 20 30 29 3b 0a 20 20 |t(lambda|, 0);. |
|00004c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 62 72 | | br|
|00004c70| 65 61 6b 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |eak;. | |
|00004c80| 20 20 20 63 61 73 65 20 | 22 62 65 68 61 76 69 6f | case |"behavio|
|00004c90| 72 22 3a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |r":. | |
|00004ca0| 20 20 20 20 69 66 20 28 | 21 74 68 69 73 2e 5f 73 | if (|!this._s|
|00004cb0| 65 74 5f 62 65 68 61 76 | 69 6f 72 28 6e 65 77 56 |et_behav|ior(newV|
|00004cc0| 61 6c 75 65 29 29 20 7b | 0a 20 20 20 20 20 20 20 |alue)) {|. |
|00004cd0| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 61 | | if (a|
|00004ce0| 74 74 72 69 62 75 74 65 | 52 65 6d 6f 76 61 6c 29 |ttribute|Removal)|
|00004cf0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004d00| 20 20 20 20 20 74 68 69 | 73 2e 5f 62 65 68 61 76 | thi|s._behav|
|00004d10| 69 6f 72 20 3d 20 22 73 | 63 72 6f 6c 6c 22 3b 0a |ior = "s|croll";.|
|00004d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d30| 20 20 65 6c 73 65 0a 20 | 20 20 20 20 20 20 20 20 | else. | |
|00004d40| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 72 6f 77 | | throw|
|00004d50| 20 6e 65 77 20 45 72 72 | 6f 72 28 22 49 6e 76 61 | new Err|or("Inva|
|00004d60| 6c 69 64 20 61 72 67 75 | 6d 65 6e 74 20 66 6f 72 |lid argu|ment for|
|00004d70| 20 4d 61 72 71 75 65 65 | 3a 3a 62 65 68 61 76 69 | Marquee|::behavi|
|00004d80| 6f 72 22 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |or");. | |
|00004d90| 20 20 20 20 20 20 7d 0a | 0a 20 20 20 20 20 20 20 | }.|. |
|00004da0| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 73 74 | | this.st|
|00004db0| 61 72 74 4e 65 77 44 69 | 72 65 63 74 69 6f 6e 20 |artNewDi|rection |
|00004dc0| 3d 20 74 72 75 65 3b 0a | 20 20 20 20 20 20 20 20 |= true;.| |
|00004dd0| 20 20 20 20 20 20 20 20 | 69 66 20 28 28 6f 6c 64 | |if ((old|
|00004de0| 56 61 6c 75 65 20 3d 3d | 20 22 73 6c 69 64 65 22 |Value ==| "slide"|
|00004df0| 20 26 26 20 74 68 69 73 | 2e 6e 65 77 50 6f 73 69 | && this|.newPosi|
|00004e00| 74 69 6f 6e 20 3d 3d 20 | 74 68 69 73 2e 73 74 6f |tion == |this.sto|
|00004e10| 70 41 74 29 20 7c 7c 0a | 20 20 20 20 20 20 20 20 |pAt) ||.| |
|00004e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 6e 65 77 56 | | newV|
|00004e30| 61 6c 75 65 20 3d 3d 20 | 22 61 6c 74 65 72 6e 61 |alue == |"alterna|
|00004e40| 74 65 22 20 7c 7c 20 6e | 65 77 56 61 6c 75 65 20 |te" || n|ewValue |
|00004e50| 3d 3d 20 22 73 6c 69 64 | 65 22 29 20 7b 0a 20 20 |== "slid|e") {. |
|00004e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004e70| 74 68 69 73 2e 73 74 6f | 70 28 29 3b 0a 20 20 20 |this.sto|p();. |
|00004e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00004e90| 68 69 73 2e 5f 64 6f 4d | 6f 76 65 28 74 72 75 65 |his._doM|ove(true|
|00004ea0| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|00004eb0| 20 20 20 7d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00004ec0| 20 20 20 20 20 62 72 65 | 61 6b 3b 0a 20 20 20 20 | bre|ak;. |
|00004ed0| 20 20 20 20 20 20 20 20 | 20 20 63 61 73 65 20 22 | | case "|
|00004ee0| 64 69 72 65 63 74 69 6f | 6e 22 3a 0a 20 20 20 20 |directio|n":. |
|00004ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|00004f00| 21 74 68 69 73 2e 5f 73 | 65 74 5f 64 69 72 65 63 |!this._s|et_direc|
|00004f10| 74 69 6f 6e 28 6e 65 77 | 56 61 6c 75 65 29 29 20 |tion(new|Value)) |
|00004f20| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{. | |
|00004f30| 20 20 20 20 69 66 20 28 | 61 74 74 72 69 62 75 74 | if (|attribut|
|00004f40| 65 52 65 6d 6f 76 61 6c | 29 0a 20 20 20 20 20 20 |eRemoval|). |
|00004f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00004f60| 69 73 2e 5f 64 69 72 65 | 63 74 69 6f 6e 20 3d 20 |is._dire|ction = |
|00004f70| 22 6c 65 66 74 22 3b 0a | 20 20 20 20 20 20 20 20 |"left";.| |
|00004f80| 20 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 0a 20 | | else. |
|00004f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004fa0| 20 20 20 74 68 72 6f 77 | 20 6e 65 77 20 45 72 72 | throw| new Err|
|00004fb0| 6f 72 28 22 49 6e 76 61 | 6c 69 64 20 61 72 67 75 |or("Inva|lid argu|
|00004fc0| 6d 65 6e 74 20 66 6f 72 | 20 4d 61 72 71 75 65 65 |ment for| Marquee|
|00004fd0| 3a 3a 64 69 72 65 63 74 | 69 6f 6e 22 29 3b 0a 20 |::direct|ion");. |
|00004fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7d | | }|
|00004ff0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005000| 20 62 72 65 61 6b 3b 0a | 20 20 20 20 20 20 20 20 | break;.| |
|00005010| 20 20 20 20 20 20 63 61 | 73 65 20 22 77 69 64 74 | ca|se "widt|
|00005020| 68 22 3a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |h":. | |
|00005030| 20 20 63 61 73 65 20 22 | 68 65 69 67 68 74 22 3a | case "|height":|
|00005040| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005050| 20 74 68 69 73 2e 73 74 | 61 72 74 4e 65 77 44 69 | this.st|artNewDi|
|00005060| 72 65 63 74 69 6f 6e 20 | 3d 20 74 72 75 65 3b 0a |rection |= true;.|
|00005070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005080| 62 72 65 61 6b 3b 0a 20 | 20 20 20 20 20 20 20 20 |break;. | |
|00005090| 20 20 20 20 20 63 61 73 | 65 20 22 6f 6e 73 74 61 | cas|e "onsta|
|000050a0| 72 74 22 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |rt":. | |
|000050b0| 20 20 20 20 20 74 68 69 | 73 2e 5f 73 65 74 45 76 | thi|s._setEv|
|000050c0| 65 6e 74 4c 69 73 74 65 | 6e 65 72 28 22 73 74 61 |entListe|ner("sta|
|000050d0| 72 74 22 2c 20 6e 65 77 | 56 61 6c 75 65 29 3b 0a |rt", new|Value);.|
|000050e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000050f0| 62 72 65 61 6b 3b 0a 20 | 20 20 20 20 20 20 20 20 |break;. | |
|00005100| 20 20 20 20 20 63 61 73 | 65 20 22 6f 6e 66 69 6e | cas|e "onfin|
|00005110| 69 73 68 22 3a 0a 20 20 | 20 20 20 20 20 20 20 20 |ish":. | |
|00005120| 20 20 20 20 20 20 74 68 | 69 73 2e 5f 73 65 74 45 | th|is._setE|
|00005130| 76 65 6e 74 4c 69 73 74 | 65 6e 65 72 28 22 66 69 |ventList|ener("fi|
|00005140| 6e 69 73 68 22 2c 20 6e | 65 77 56 61 6c 75 65 29 |nish", n|ewValue)|
|00005150| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00005160| 20 20 62 72 65 61 6b 3b | 0a 20 20 20 20 20 20 20 | break;|. |
|00005170| 20 20 20 20 20 20 20 63 | 61 73 65 20 22 6f 6e 62 | c|ase "onb|
|00005180| 6f 75 6e 63 65 22 3a 0a | 20 20 20 20 20 20 20 20 |ounce":.| |
|00005190| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 5f 73 65 | |this._se|
|000051a0| 74 45 76 65 6e 74 4c 69 | 73 74 65 6e 65 72 28 22 |tEventLi|stener("|
|000051b0| 62 6f 75 6e 63 65 22 2c | 20 6e 65 77 56 61 6c 75 |bounce",| newValu|
|000051c0| 65 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |e);. | |
|000051d0| 20 20 20 20 62 72 65 61 | 6b 3b 0a 20 20 20 20 20 | brea|k;. |
|000051e0| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 20 | }|. |
|000051f0| 20 20 20 7d 0a 20 20 20 | 20 20 20 20 20 5d 5d 3e | }. | ]]>|
|00005200| 0a 20 20 20 20 20 20 3c | 2f 68 61 6e 64 6c 65 72 |. <|/handler|
|00005210| 3e 0a 20 20 20 20 3c 2f | 68 61 6e 64 6c 65 72 73 |>. </|handlers|
|00005220| 3e 0a 0a 20 20 3c 2f 62 | 69 6e 64 69 6e 67 3e 0a |>.. </b|inding>.|
|00005230| 0a 20 20 3c 62 69 6e 64 | 69 6e 67 20 69 64 3d 22 |. <bind|ing id="|
|00005240| 6d 61 72 71 75 65 65 2d | 68 6f 72 69 7a 6f 6e 74 |marquee-|horizont|
|00005250| 61 6c 22 0a 20 20 20 20 | 20 20 20 20 20 20 20 65 |al". | e|
|00005260| 78 74 65 6e 64 73 3d 22 | 63 68 72 6f 6d 65 3a 2f |xtends="|chrome:/|
|00005270| 2f 78 62 6c 2d 6d 61 72 | 71 75 65 65 2f 63 6f 6e |/xbl-mar|quee/con|
|00005280| 74 65 6e 74 2f 78 62 6c | 2d 6d 61 72 71 75 65 65 |tent/xbl|-marquee|
|00005290| 2e 78 6d 6c 23 6d 61 72 | 71 75 65 65 22 0a 20 20 |.xml#mar|quee". |
|000052a0| 20 20 20 20 20 20 20 20 | 20 69 6e 68 65 72 69 74 | | inherit|
|000052b0| 73 74 79 6c 65 3d 22 66 | 61 6c 73 65 22 3e 0a 0a |style="f|alse">..|
|000052c0| 20 20 20 20 3c 21 2d 2d | 20 57 68 69 74 65 2d 73 | <!--| White-s|
|000052d0| 70 61 63 65 20 69 73 6e | 27 74 20 61 6c 6c 6f 77 |pace isn|'t allow|
|000052e0| 65 64 20 62 65 63 61 75 | 73 65 20 61 20 6d 61 72 |ed becau|se a mar|
|000052f0| 71 75 65 65 20 63 6f 75 | 6c 64 20 62 65 20 0a 20 |quee cou|ld be . |
|00005300| 20 20 20 20 20 20 20 20 | 69 6e 73 69 64 65 20 27 | |inside '|
|00005310| 77 68 69 74 65 2d 73 70 | 61 63 65 3a 20 70 72 65 |white-sp|ace: pre|
|00005320| 27 20 2d 2d 3e 0a 20 20 | 20 20 3c 63 6f 6e 74 65 |' -->. | <conte|
|00005330| 6e 74 3e 0a 20 20 20 20 | 20 20 3c 68 74 6d 6c 3a |nt>. | <html:|
|00005340| 64 69 76 20 78 62 6c 3a | 69 6e 68 65 72 69 74 73 |div xbl:|inherits|
|00005350| 3d 22 22 20 73 74 79 6c | 65 3d 22 6f 76 65 72 66 |="" styl|e="overf|
|00005360| 6c 6f 77 3a 20 68 69 64 | 64 65 6e 22 0a 20 20 20 |low: hid|den". |
|00005370| 20 20 20 20 20 3e 3c 68 | 74 6d 6c 3a 64 69 76 20 | ><h|tml:div |
|00005380| 73 74 79 6c 65 3d 22 64 | 69 73 70 6c 61 79 3a 20 |style="d|isplay: |
|00005390| 2d 6d 6f 7a 2d 62 6f 78 | 3b 20 6d 61 72 67 69 6e |-moz-box|; margin|
|000053a0| 3a 20 30 20 31 30 30 25 | 3b 22 0a 20 20 20 20 20 |: 0 100%|;". |
|000053b0| 20 20 20 20 20 3e 3c 68 | 74 6d 6c 3a 64 69 76 20 | ><h|tml:div |
|000053c0| 63 6c 61 73 73 3d 22 69 | 6e 6e 65 72 44 69 76 22 |class="i|nnerDiv"|
|000053d0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 3e 3c 63 |. | ><c|
|000053e0| 68 69 6c 64 72 65 6e 0a | 20 20 20 20 20 20 20 20 |hildren.| |
|000053f0| 20 20 2f 3e 3c 2f 68 74 | 6d 6c 3a 64 69 76 0a 20 | /></ht|ml:div. |
|00005400| 20 20 20 20 20 20 20 3e | 3c 2f 68 74 6d 6c 3a 64 | >|</html:d|
|00005410| 69 76 0a 20 20 20 20 20 | 20 3e 3c 2f 68 74 6d 6c |iv. | ></html|
|00005420| 3a 64 69 76 3e 0a 20 20 | 20 20 3c 2f 63 6f 6e 74 |:div>. | </cont|
|00005430| 65 6e 74 3e 0a 0a 20 20 | 3c 2f 62 69 6e 64 69 6e |ent>.. |</bindin|
|00005440| 67 3e 0a 0a 20 20 3c 21 | 2d 2d 20 75 73 65 20 2d |g>.. <!|-- use -|
|00005450| 6d 6f 7a 2d 6d 61 72 67 | 69 6e 2d 65 6e 64 20 74 |moz-marg|in-end t|
|00005460| 6f 20 66 6f 72 63 65 20 | 6c 61 72 67 65 20 69 6e |o force |large in|
|00005470| 74 72 69 6e 73 69 63 20 | 77 69 64 74 68 20 2d 2d |trinsic |width --|
|00005480| 3e 0a 20 20 3c 62 69 6e | 64 69 6e 67 20 69 64 3d |>. <bin|ding id=|
|00005490| 22 6d 61 72 71 75 65 65 | 2d 76 65 72 74 69 63 61 |"marquee|-vertica|
|000054a0| 6c 22 0a 20 20 20 20 20 | 20 20 20 20 20 20 65 78 |l". | ex|
|000054b0| 74 65 6e 64 73 3d 22 63 | 68 72 6f 6d 65 3a 2f 2f |tends="c|hrome://|
|000054c0| 78 62 6c 2d 6d 61 72 71 | 75 65 65 2f 63 6f 6e 74 |xbl-marq|uee/cont|
|000054d0| 65 6e 74 2f 78 62 6c 2d | 6d 61 72 71 75 65 65 2e |ent/xbl-|marquee.|
|000054e0| 78 6d 6c 23 6d 61 72 71 | 75 65 65 22 0a 20 20 20 |xml#marq|uee". |
|000054f0| 20 20 20 20 20 20 20 20 | 69 6e 68 65 72 69 74 73 | |inherits|
|00005500| 74 79 6c 65 3d 22 66 61 | 6c 73 65 22 3e 0a 0a 20 |tyle="fa|lse">.. |
|00005510| 20 20 20 3c 21 2d 2d 20 | 57 68 69 74 65 2d 73 70 | <!-- |White-sp|
|00005520| 61 63 65 20 69 73 6e 27 | 74 20 61 6c 6c 6f 77 65 |ace isn'|t allowe|
|00005530| 64 20 62 65 63 61 75 73 | 65 20 61 20 6d 61 72 71 |d becaus|e a marq|
|00005540| 75 65 65 20 63 6f 75 6c | 64 20 62 65 20 0a 20 20 |uee coul|d be . |
|00005550| 20 20 20 20 20 20 20 69 | 6e 73 69 64 65 20 27 77 | i|nside 'w|
|00005560| 68 69 74 65 2d 73 70 61 | 63 65 3a 20 70 72 65 27 |hite-spa|ce: pre'|
|00005570| 20 2d 2d 3e 0a 20 20 20 | 20 3c 63 6f 6e 74 65 6e | -->. | <conten|
|00005580| 74 3e 0a 20 20 20 20 20 | 20 3c 68 74 6d 6c 3a 64 |t>. | <html:d|
|00005590| 69 76 20 78 62 6c 3a 69 | 6e 68 65 72 69 74 73 3d |iv xbl:i|nherits=|
|000055a0| 22 22 20 73 74 79 6c 65 | 3d 22 6f 76 65 72 66 6c |"" style|="overfl|
|000055b0| 6f 77 3a 20 68 69 64 64 | 65 6e 3b 20 77 69 64 74 |ow: hidd|en; widt|
|000055c0| 68 3a 20 31 30 30 25 3b | 20 2d 6d 6f 7a 2d 6d 61 |h: 100%;| -moz-ma|
|000055d0| 72 67 69 6e 2d 65 6e 64 | 3a 20 31 30 30 25 22 0a |rgin-end|: 100%".|
|000055e0| 20 20 20 20 20 20 20 20 | 3e 3c 68 74 6d 6c 3a 64 | |><html:d|
|000055f0| 69 76 20 63 6c 61 73 73 | 3d 22 69 6e 6e 65 72 44 |iv class|="innerD|
|00005600| 69 76 22 0a 20 20 20 20 | 20 20 20 20 20 20 3e 3c |iv". | ><|
|00005610| 63 68 69 6c 64 72 65 6e | 0a 20 20 20 20 20 20 20 |children|. |
|00005620| 20 2f 3e 3c 2f 68 74 6d | 6c 3a 64 69 76 0a 20 20 | /></htm|l:div. |
|00005630| 20 20 20 20 3e 3c 2f 68 | 74 6d 6c 3a 64 69 76 3e | ></h|tml:div>|
|00005640| 0a 20 20 20 20 3c 2f 63 | 6f 6e 74 65 6e 74 3e 0a |. </c|ontent>.|
|00005650| 0a 20 20 3c 2f 62 69 6e | 64 69 6e 67 3e 0a 0a 3c |. </bin|ding>..<|
|00005660| 2f 62 69 6e 64 69 6e 67 | 73 3e 0a 50 4b 03 04 0a |/binding|s>.PK...|
|00005670| 00 00 00 00 00 54 14 51 | 36 eb e5 ca 1b 81 07 00 |.....T.Q|6.......|
|00005680| 00 81 07 00 00 23 00 00 | 00 63 6f 6e 74 65 6e 74 |.....#..|.content|
|00005690| 2f 78 62 6c 2d 6d 61 72 | 71 75 65 65 2f 78 62 6c |/xbl-mar|quee/xbl|
|000056a0| 2d 6d 61 72 71 75 65 65 | 2e 63 73 73 2f 2a 20 2a |-marquee|.css/* *|
|000056b0| 2a 2a 2a 2a 20 42 45 47 | 49 4e 20 4c 49 43 45 4e |**** BEG|IN LICEN|
|000056c0| 53 45 20 42 4c 4f 43 4b | 20 2a 2a 2a 2a 2a 0d 0a |SE BLOCK| *****..|
|000056d0| 20 2a 20 56 65 72 73 69 | 6f 6e 3a 20 4d 50 4c 20 | * Versi|on: MPL |
|000056e0| 31 2e 31 2f 47 50 4c 20 | 32 2e 30 2f 4c 47 50 4c |1.1/GPL |2.0/LGPL|
|000056f0| 20 32 2e 31 0d 0a 20 2a | 0d 0a 20 2a 20 54 68 65 | 2.1.. *|.. * The|
|00005700| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|00005710| 73 20 66 69 6c 65 20 61 | 72 65 20 73 75 62 6a 65 |s file a|re subje|
|00005720| 63 74 20 74 6f 20 74 68 | 65 20 4d 6f 7a 69 6c 6c |ct to th|e Mozill|
|00005730| 61 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |a Public| License|
|00005740| 20 56 65 72 73 69 6f 6e | 0d 0a 20 2a 20 31 2e 31 | Version|.. * 1.1|
|00005750| 20 28 74 68 65 20 22 4c | 69 63 65 6e 73 65 22 29 | (the "L|icense")|
|00005760| 3b 20 79 6f 75 20 6d 61 | 79 20 6e 6f 74 20 75 73 |; you ma|y not us|
|00005770| 65 20 74 68 69 73 20 66 | 69 6c 65 20 65 78 63 65 |e this f|ile exce|
|00005780| 70 74 20 69 6e 20 63 6f | 6d 70 6c 69 61 6e 63 65 |pt in co|mpliance|
|00005790| 20 77 69 74 68 0d 0a 20 | 2a 20 74 68 65 20 4c 69 | with.. |* the Li|
|000057a0| 63 65 6e 73 65 2e 20 59 | 6f 75 20 6d 61 79 20 6f |cense. Y|ou may o|
|000057b0| 62 74 61 69 6e 20 61 20 | 63 6f 70 79 20 6f 66 20 |btain a |copy of |
|000057c0| 74 68 65 20 4c 69 63 65 | 6e 73 65 20 61 74 0d 0a |the Lice|nse at..|
|000057d0| 20 2a 20 68 74 74 70 3a | 2f 2f 77 77 77 2e 6d 6f | * http:|//www.mo|
|000057e0| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 4d 50 4c 2f 0d 0a |zilla.or|g/MPL/..|
|000057f0| 20 2a 0d 0a 20 2a 20 53 | 6f 66 74 77 61 72 65 20 | *.. * S|oftware |
|00005800| 64 69 73 74 72 69 62 75 | 74 65 64 20 75 6e 64 65 |distribu|ted unde|
|00005810| 72 20 74 68 65 20 4c 69 | 63 65 6e 73 65 20 69 73 |r the Li|cense is|
|00005820| 20 64 69 73 74 72 69 62 | 75 74 65 64 20 6f 6e 20 | distrib|uted on |
|00005830| 61 6e 20 22 41 53 20 49 | 53 22 20 62 61 73 69 73 |an "AS I|S" basis|
|00005840| 2c 0d 0a 20 2a 20 57 49 | 54 48 4f 55 54 20 57 41 |,.. * WI|THOUT WA|
|00005850| 52 52 41 4e 54 59 20 4f | 46 20 41 4e 59 20 4b 49 |RRANTY O|F ANY KI|
|00005860| 4e 44 2c 20 65 69 74 68 | 65 72 20 65 78 70 72 65 |ND, eith|er expre|
|00005870| 73 73 20 6f 72 20 69 6d | 70 6c 69 65 64 2e 20 53 |ss or im|plied. S|
|00005880| 65 65 20 74 68 65 20 4c | 69 63 65 6e 73 65 0d 0a |ee the L|icense..|
|00005890| 20 2a 20 66 6f 72 20 74 | 68 65 20 73 70 65 63 69 | * for t|he speci|
|000058a0| 66 69 63 20 6c 61 6e 67 | 75 61 67 65 20 67 6f 76 |fic lang|uage gov|
|000058b0| 65 72 6e 69 6e 67 20 72 | 69 67 68 74 73 20 61 6e |erning r|ights an|
|000058c0| 64 20 6c 69 6d 69 74 61 | 74 69 6f 6e 73 20 75 6e |d limita|tions un|
|000058d0| 64 65 72 20 74 68 65 0d | 0a 20 2a 20 4c 69 63 65 |der the.|. * Lice|
|000058e0| 6e 73 65 2e 0d 0a 20 2a | 0d 0a 20 2a 20 54 68 65 |nse... *|.. * The|
|000058f0| 20 4f 72 69 67 69 6e 61 | 6c 20 43 6f 64 65 20 69 | Origina|l Code i|
|00005900| 73 20 6d 6f 7a 69 6c 6c | 61 2e 6f 72 67 20 63 6f |s mozill|a.org co|
|00005910| 64 65 2e 0d 0a 20 2a 0d | 0a 20 2a 20 54 68 65 20 |de... *.|. * The |
|00005920| 49 6e 69 74 69 61 6c 20 | 44 65 76 65 6c 6f 70 65 |Initial |Develope|
|00005930| 72 20 6f 66 20 74 68 65 | 20 4f 72 69 67 69 6e 61 |r of the| Origina|
|00005940| 6c 20 43 6f 64 65 20 69 | 73 0d 0a 20 2a 20 4e 65 |l Code i|s.. * Ne|
|00005950| 74 73 63 61 70 65 20 43 | 6f 6d 6d 75 6e 69 63 61 |tscape C|ommunica|
|00005960| 74 69 6f 6e 73 20 43 6f | 72 70 6f 72 61 74 69 6f |tions Co|rporatio|
|00005970| 6e 2e 0d 0a 20 2a 20 50 | 6f 72 74 69 6f 6e 73 20 |n... * P|ortions |
|00005980| 63 72 65 61 74 65 64 20 | 62 79 20 74 68 65 20 49 |created |by the I|
|00005990| 6e 69 74 69 61 6c 20 44 | 65 76 65 6c 6f 70 65 72 |nitial D|eveloper|
|000059a0| 20 61 72 65 20 43 6f 70 | 79 72 69 67 68 74 20 28 | are Cop|yright (|
|000059b0| 43 29 20 31 39 39 38 0d | 0a 20 2a 20 74 68 65 20 |C) 1998.|. * the |
|000059c0| 49 6e 69 74 69 61 6c 20 | 44 65 76 65 6c 6f 70 65 |Initial |Develope|
|000059d0| 72 2e 20 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 |r. All R|ights Re|
|000059e0| 73 65 72 76 65 64 2e 0d | 0a 20 2a 0d 0a 20 2a 20 |served..|. *.. * |
|000059f0| 43 6f 6e 74 72 69 62 75 | 74 6f 72 28 73 29 3a 0d |Contribu|tor(s):.|
|00005a00| 0a 20 2a 0d 0a 20 2a 20 | 41 6c 74 65 72 6e 61 74 |. *.. * |Alternat|
|00005a10| 69 76 65 6c 79 2c 20 74 | 68 65 20 63 6f 6e 74 65 |ively, t|he conte|
|00005a20| 6e 74 73 20 6f 66 20 74 | 68 69 73 20 66 69 6c 65 |nts of t|his file|
|00005a30| 20 6d 61 79 20 62 65 20 | 75 73 65 64 20 75 6e 64 | may be |used und|
|00005a40| 65 72 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 0d |er the t|erms of.|
|00005a50| 0a 20 2a 20 65 69 74 68 | 65 72 20 6f 66 20 74 68 |. * eith|er of th|
|00005a60| 65 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 |e GNU Ge|neral Pu|
|00005a70| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 56 65 72 |blic Lic|ense Ver|
|00005a80| 73 69 6f 6e 20 32 20 6f | 72 20 6c 61 74 65 72 20 |sion 2 o|r later |
|00005a90| 28 74 68 65 20 22 47 50 | 4c 22 29 2c 0d 0a 20 2a |(the "GP|L"),.. *|
|00005aa0| 20 6f 72 20 74 68 65 20 | 47 4e 55 20 4c 65 73 73 | or the |GNU Less|
|00005ab0| 65 72 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |er Gener|al Publi|
|00005ac0| 63 20 4c 69 63 65 6e 73 | 65 20 56 65 72 73 69 6f |c Licens|e Versio|
|00005ad0| 6e 20 32 2e 31 20 6f 72 | 20 6c 61 74 65 72 20 28 |n 2.1 or| later (|
|00005ae0| 74 68 65 20 22 4c 47 50 | 4c 22 29 2c 0d 0a 20 2a |the "LGP|L"),.. *|
|00005af0| 20 69 6e 20 77 68 69 63 | 68 20 63 61 73 65 20 74 | in whic|h case t|
|00005b00| 68 65 20 70 72 6f 76 69 | 73 69 6f 6e 73 20 6f 66 |he provi|sions of|
|00005b10| 20 74 68 65 20 47 50 4c | 20 6f 72 20 74 68 65 20 | the GPL| or the |
|00005b20| 4c 47 50 4c 20 61 72 65 | 20 61 70 70 6c 69 63 61 |LGPL are| applica|
|00005b30| 62 6c 65 20 69 6e 73 74 | 65 61 64 0d 0a 20 2a 20 |ble inst|ead.. * |
|00005b40| 6f 66 20 74 68 6f 73 65 | 20 61 62 6f 76 65 2e 20 |of those| above. |
|00005b50| 49 66 20 79 6f 75 20 77 | 69 73 68 20 74 6f 20 61 |If you w|ish to a|
|00005b60| 6c 6c 6f 77 20 75 73 65 | 20 6f 66 20 79 6f 75 72 |llow use| of your|
|00005b70| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 74 68 69 73 | version| of this|
|00005b80| 20 66 69 6c 65 20 6f 6e | 6c 79 0d 0a 20 2a 20 75 | file on|ly.. * u|
|00005b90| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|00005ba0| 66 20 65 69 74 68 65 72 | 20 74 68 65 20 47 50 4c |f either| the GPL|
|00005bb0| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2c 20 61 6e | or the |LGPL, an|
|00005bc0| 64 20 6e 6f 74 20 74 6f | 20 61 6c 6c 6f 77 20 6f |d not to| allow o|
|00005bd0| 74 68 65 72 73 20 74 6f | 0d 0a 20 2a 20 75 73 65 |thers to|.. * use|
|00005be0| 20 79 6f 75 72 20 76 65 | 72 73 69 6f 6e 20 6f 66 | your ve|rsion of|
|00005bf0| 20 74 68 69 73 20 66 69 | 6c 65 20 75 6e 64 65 72 | this fi|le under|
|00005c00| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 74 68 | the ter|ms of th|
|00005c10| 65 20 4d 50 4c 2c 20 69 | 6e 64 69 63 61 74 65 20 |e MPL, i|ndicate |
|00005c20| 79 6f 75 72 0d 0a 20 2a | 20 64 65 63 69 73 69 6f |your.. *| decisio|
|00005c30| 6e 20 62 79 20 64 65 6c | 65 74 69 6e 67 20 74 68 |n by del|eting th|
|00005c40| 65 20 70 72 6f 76 69 73 | 69 6f 6e 73 20 61 62 6f |e provis|ions abo|
|00005c50| 76 65 20 61 6e 64 20 72 | 65 70 6c 61 63 65 20 74 |ve and r|eplace t|
|00005c60| 68 65 6d 20 77 69 74 68 | 20 74 68 65 20 6e 6f 74 |hem with| the not|
|00005c70| 69 63 65 0d 0a 20 2a 20 | 61 6e 64 20 6f 74 68 65 |ice.. * |and othe|
|00005c80| 72 20 70 72 6f 76 69 73 | 69 6f 6e 73 20 72 65 71 |r provis|ions req|
|00005c90| 75 69 72 65 64 20 62 79 | 20 74 68 65 20 47 50 4c |uired by| the GPL|
|00005ca0| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2e 20 49 66 | or the |LGPL. If|
|00005cb0| 20 79 6f 75 20 64 6f 20 | 6e 6f 74 20 64 65 6c 65 | you do |not dele|
|00005cc0| 74 65 0d 0a 20 2a 20 74 | 68 65 20 70 72 6f 76 69 |te.. * t|he provi|
|00005cd0| 73 69 6f 6e 73 20 61 62 | 6f 76 65 2c 20 61 20 72 |sions ab|ove, a r|
|00005ce0| 65 63 69 70 69 65 6e 74 | 20 6d 61 79 20 75 73 65 |ecipient| may use|
|00005cf0| 20 79 6f 75 72 20 76 65 | 72 73 69 6f 6e 20 6f 66 | your ve|rsion of|
|00005d00| 20 74 68 69 73 20 66 69 | 6c 65 20 75 6e 64 65 72 | this fi|le under|
|00005d10| 0d 0a 20 2a 20 74 68 65 | 20 74 65 72 6d 73 20 6f |.. * the| terms o|
|00005d20| 66 20 61 6e 79 20 6f 6e | 65 20 6f 66 20 74 68 65 |f any on|e of the|
|00005d30| 20 4d 50 4c 2c 20 74 68 | 65 20 47 50 4c 20 6f 72 | MPL, th|e GPL or|
|00005d40| 20 74 68 65 20 4c 47 50 | 4c 2e 0d 0a 20 2a 0d 0a | the LGP|L... *..|
|00005d50| 20 2a 20 2a 2a 2a 2a 2a | 20 45 4e 44 20 4c 49 43 | * *****| END LIC|
|00005d60| 45 4e 53 45 20 42 4c 4f | 43 4b 20 2a 2a 2a 2a 2a |ENSE BLO|CK *****|
|00005d70| 20 2a 2f 0d 0a 0d 0a 2f | 2a 20 50 52 49 4e 54 20 | */..../|* PRINT |
|00005d80| 4f 4e 4c 59 20 72 75 6c | 65 73 20 2a 2f 0d 0a 40 |ONLY rul|es */..@|
|00005d90| 6d 65 64 69 61 20 70 72 | 69 6e 74 20 7b 0d 0a 0d |media pr|int {...|
|00005da0| 0a 20 20 6d 61 72 71 75 | 65 65 20 3e 20 2a 20 3e |. marqu|ee > * >|
|00005db0| 20 2a 20 7b 20 0d 0a 20 | 20 20 20 6d 61 72 67 69 | * { .. | margi|
|00005dc0| 6e 3a 20 30 20 21 69 6d | 70 6f 72 74 61 6e 74 3b |n: 0 !im|portant;|
|00005dd0| 20 0d 0a 20 20 20 20 70 | 61 64 64 69 6e 67 3a 20 | .. p|adding: |
|00005de0| 30 20 21 69 6d 70 6f 72 | 74 61 6e 74 3b 0d 0a 20 |0 !impor|tant;.. |
|00005df0| 20 7d 20 2f 2a 20 54 68 | 69 73 20 68 61 63 6b 20 | } /* Th|is hack |
|00005e00| 69 73 20 6e 65 65 64 65 | 64 20 75 6e 74 69 6c 20 |is neede|d until |
|00005e10| 62 75 67 20 31 31 39 30 | 37 38 20 67 65 74 73 20 |bug 1190|78 gets |
|00005e20| 66 69 78 65 64 20 2a 2f | 0d 0a 7d 0d 0a 50 4b 03 |fixed */|..}..PK.|
|00005e30| 04 0a 00 00 00 00 00 a8 | 8d 64 30 04 b0 3b 67 a7 |........|.d0..;g.|
|00005e40| 15 00 00 a7 15 00 00 25 | 00 00 00 63 6f 6e 74 65 |.......%|...conte|
|00005e50| 6e 74 2f 63 6f 6f 6b 69 | 65 2f 63 6f 6f 6b 69 65 |nt/cooki|e/cookie|
|00005e60| 41 63 63 65 70 74 44 69 | 61 6c 6f 67 2e 78 75 6c |AcceptDi|alog.xul|
|00005e70| 3c 3f 78 6d 6c 20 76 65 | 72 73 69 6f 6e 3d 22 31 |<?xml ve|rsion="1|
|00005e80| 2e 30 22 3f 3e 0a 0a 3c | 21 2d 2d 20 2a 2a 2a 2a |.0"?>..<|!-- ****|
|00005e90| 2a 20 42 45 47 49 4e 20 | 4c 49 43 45 4e 53 45 20 |* BEGIN |LICENSE |
|00005ea0| 42 4c 4f 43 4b 20 2a 2a | 2a 2a 2a 0a 20 20 20 2d |BLOCK **|***. -|
|00005eb0| 20 56 65 72 73 69 6f 6e | 3a 20 4d 50 4c 20 31 2e | Version|: MPL 1.|
|00005ec0| 31 2f 47 50 4c 20 32 2e | 30 2f 4c 47 50 4c 20 32 |1/GPL 2.|0/LGPL 2|
|00005ed0| 2e 31 0a 20 20 20 2d 0a | 20 20 20 2d 20 54 68 65 |.1. -.| - The|
|00005ee0| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|00005ef0| 73 20 66 69 6c 65 20 61 | 72 65 20 73 75 62 6a 65 |s file a|re subje|
|00005f00| 63 74 20 74 6f 20 74 68 | 65 20 4d 6f 7a 69 6c 6c |ct to th|e Mozill|
|00005f10| 61 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |a Public| License|
|00005f20| 20 56 65 72 73 69 6f 6e | 0a 20 20 20 2d 20 31 2e | Version|. - 1.|
|00005f30| 31 20 28 74 68 65 20 22 | 4c 69 63 65 6e 73 65 22 |1 (the "|License"|
|00005f40| 29 3b 20 79 6f 75 20 6d | 61 79 20 6e 6f 74 20 75 |); you m|ay not u|
|00005f50| 73 65 20 74 68 69 73 20 | 66 69 6c 65 20 65 78 63 |se this |file exc|
|00005f60| 65 70 74 20 69 6e 20 63 | 6f 6d 70 6c 69 61 6e 63 |ept in c|omplianc|
|00005f70| 65 20 77 69 74 68 0a 20 | 20 20 2d 20 74 68 65 20 |e with. | - the |
|00005f80| 4c 69 63 65 6e 73 65 2e | 20 59 6f 75 20 6d 61 79 |License.| You may|
|00005f90| 20 6f 62 74 61 69 6e 20 | 61 20 63 6f 70 79 20 6f | obtain |a copy o|
|00005fa0| 66 20 74 68 65 20 4c 69 | 63 65 6e 73 65 20 61 74 |f the Li|cense at|
|00005fb0| 0a 20 20 20 2d 20 68 74 | 74 70 3a 2f 2f 77 77 77 |. - ht|tp://www|
|00005fc0| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 4d 50 4c |.mozilla|.org/MPL|
|00005fd0| 2f 0a 20 20 20 2d 0a 20 | 20 20 2d 20 53 6f 66 74 |/. -. | - Soft|
|00005fe0| 77 61 72 65 20 64 69 73 | 74 72 69 62 75 74 65 64 |ware dis|tributed|
|00005ff0| 20 75 6e 64 65 72 20 74 | 68 65 20 4c 69 63 65 6e | under t|he Licen|
|00006000| 73 65 20 69 73 20 64 69 | 73 74 72 69 62 75 74 65 |se is di|stribute|
|00006010| 64 20 6f 6e 20 61 6e 20 | 22 41 53 20 49 53 22 20 |d on an |"AS IS" |
|00006020| 62 61 73 69 73 2c 0a 20 | 20 20 2d 20 57 49 54 48 |basis,. | - WITH|
|00006030| 4f 55 54 20 57 41 52 52 | 41 4e 54 59 20 4f 46 20 |OUT WARR|ANTY OF |
|00006040| 41 4e 59 20 4b 49 4e 44 | 2c 20 65 69 74 68 65 72 |ANY KIND|, either|
|00006050| 20 65 78 70 72 65 73 73 | 20 6f 72 20 69 6d 70 6c | express| or impl|
|00006060| 69 65 64 2e 20 53 65 65 | 20 74 68 65 20 4c 69 63 |ied. See| the Lic|
|00006070| 65 6e 73 65 0a 20 20 20 | 2d 20 66 6f 72 20 74 68 |ense. |- for th|
|00006080| 65 20 73 70 65 63 69 66 | 69 63 20 6c 61 6e 67 75 |e specif|ic langu|
|00006090| 61 67 65 20 67 6f 76 65 | 72 6e 69 6e 67 20 72 69 |age gove|rning ri|
|000060a0| 67 68 74 73 20 61 6e 64 | 20 6c 69 6d 69 74 61 74 |ghts and| limitat|
|000060b0| 69 6f 6e 73 20 75 6e 64 | 65 72 20 74 68 65 0a 20 |ions und|er the. |
|000060c0| 20 20 2d 20 4c 69 63 65 | 6e 73 65 2e 0a 20 20 20 | - Lice|nse.. |
|000060d0| 2d 0a 20 20 20 2d 20 54 | 68 65 20 4f 72 69 67 69 |-. - T|he Origi|
|000060e0| 6e 61 6c 20 43 6f 64 65 | 20 69 73 20 63 6f 6f 6b |nal Code| is cook|
|000060f0| 69 65 20 6d 61 6e 61 67 | 65 72 20 63 6f 64 65 2e |ie manag|er code.|
|00006100| 0a 20 20 20 2d 0a 20 20 | 20 2d 20 54 68 65 20 49 |. -. | - The I|
|00006110| 6e 69 74 69 61 6c 20 44 | 65 76 65 6c 6f 70 65 72 |nitial D|eveloper|
|00006120| 20 6f 66 20 74 68 65 20 | 4f 72 69 67 69 6e 61 6c | of the |Original|
|00006130| 20 43 6f 64 65 20 69 73 | 0a 20 20 20 2d 20 4d 69 | Code is|. - Mi|
|00006140| 63 68 69 65 6c 20 76 61 | 6e 20 4c 65 65 75 77 65 |chiel va|n Leeuwe|
|00006150| 6e 2e 0a 20 20 20 2d 20 | 50 6f 72 74 69 6f 6e 73 |n.. - |Portions|
|00006160| 20 63 72 65 61 74 65 64 | 20 62 79 20 74 68 65 20 | created| by the |
|00006170| 49 6e 69 74 69 61 6c 20 | 44 65 76 65 6c 6f 70 65 |Initial |Develope|
|00006180| 72 20 61 72 65 20 43 6f | 70 79 72 69 67 68 74 20 |r are Co|pyright |
|00006190| 28 43 29 20 32 30 30 32 | 0a 20 20 20 2d 20 74 68 |(C) 2002|. - th|
|000061a0| 65 20 49 6e 69 74 69 61 | 6c 20 44 65 76 65 6c 6f |e Initia|l Develo|
|000061b0| 70 65 72 2e 20 41 6c 6c | 20 52 69 67 68 74 73 20 |per. All| Rights |
|000061c0| 52 65 73 65 72 76 65 64 | 2e 0a 20 20 20 2d 0a 20 |Reserved|.. -. |
|000061d0| 20 20 2d 20 43 6f 6e 74 | 72 69 62 75 74 6f 72 28 | - Cont|ributor(|
|000061e0| 73 29 3a 0a 20 20 20 2d | 0a 20 20 20 2d 20 41 6c |s):. -|. - Al|
|000061f0| 74 65 72 6e 61 74 69 76 | 65 6c 79 2c 20 74 68 65 |ternativ|ely, the|
|00006200| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|00006210| 73 20 66 69 6c 65 20 6d | 61 79 20 62 65 20 75 73 |s file m|ay be us|
|00006220| 65 64 20 75 6e 64 65 72 | 20 74 68 65 20 74 65 72 |ed under| the ter|
|00006230| 6d 73 20 6f 66 0a 20 20 | 20 2d 20 65 69 74 68 65 |ms of. | - eithe|
|00006240| 72 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |r the GN|U Genera|
|00006250| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00006260| 20 56 65 72 73 69 6f 6e | 20 32 20 6f 72 20 6c 61 | Version| 2 or la|
|00006270| 74 65 72 20 28 74 68 65 | 20 22 47 50 4c 22 29 2c |ter (the| "GPL"),|
|00006280| 20 6f 72 0a 20 20 20 2d | 20 74 68 65 20 47 4e 55 | or. -| the GNU|
|00006290| 20 4c 65 73 73 65 72 20 | 47 65 6e 65 72 61 6c 20 | Lesser |General |
|000062a0| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 20 56 |Public L|icense V|
|000062b0| 65 72 73 69 6f 6e 20 32 | 2e 31 20 6f 72 20 6c 61 |ersion 2|.1 or la|
|000062c0| 74 65 72 20 28 74 68 65 | 20 22 4c 47 50 4c 22 29 |ter (the| "LGPL")|
|000062d0| 2c 0a 20 20 20 2d 20 69 | 6e 20 77 68 69 63 68 20 |,. - i|n which |
|000062e0| 63 61 73 65 20 74 68 65 | 20 70 72 6f 76 69 73 69 |case the| provisi|
|000062f0| 6f 6e 73 20 6f 66 20 74 | 68 65 20 47 50 4c 20 6f |ons of t|he GPL o|
|00006300| 72 20 74 68 65 20 4c 47 | 50 4c 20 61 72 65 20 61 |r the LG|PL are a|
|00006310| 70 70 6c 69 63 61 62 6c | 65 20 69 6e 73 74 65 61 |pplicabl|e instea|
|00006320| 64 0a 20 20 20 2d 20 6f | 66 20 74 68 6f 73 65 20 |d. - o|f those |
|00006330| 61 62 6f 76 65 2e 20 49 | 66 20 79 6f 75 20 77 69 |above. I|f you wi|
|00006340| 73 68 20 74 6f 20 61 6c | 6c 6f 77 20 75 73 65 20 |sh to al|low use |
|00006350| 6f 66 20 79 6f 75 72 20 | 76 65 72 73 69 6f 6e 20 |of your |version |
|00006360| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 6f 6e 6c |of this |file onl|
|00006370| 79 0a 20 20 20 2d 20 75 | 6e 64 65 72 20 74 68 65 |y. - u|nder the|
|00006380| 20 74 65 72 6d 73 20 6f | 66 20 65 69 74 68 65 72 | terms o|f either|
|00006390| 20 74 68 65 20 47 50 4c | 20 6f 72 20 74 68 65 20 | the GPL| or the |
|000063a0| 4c 47 50 4c 2c 20 61 6e | 64 20 6e 6f 74 20 74 6f |LGPL, an|d not to|
|000063b0| 20 61 6c 6c 6f 77 20 6f | 74 68 65 72 73 20 74 6f | allow o|thers to|
|000063c0| 0a 20 20 20 2d 20 75 73 | 65 20 79 6f 75 72 20 76 |. - us|e your v|
|000063d0| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 69 73 20 66 |ersion o|f this f|
|000063e0| 69 6c 65 20 75 6e 64 65 | 72 20 74 68 65 20 74 65 |ile unde|r the te|
|000063f0| 72 6d 73 20 6f 66 20 74 | 68 65 20 4d 50 4c 2c 20 |rms of t|he MPL, |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.